Install Riak on OS X Lion

I’ve been meaning to play with Riak for a while and finally decided to give it a shot with Riak Fast Track. This will be a quick repost of this other post, which was almost perfect, except you don’t need to pass 32-bit architecture build flags, you can specify 64-bit architecture. Perform the following in your shell :

curl -O http://downloads.basho.com/riak/riak-0.14/riak-0.14.2.tar.gz
tar xzvf riak-0.14.2.tar.gz
cd riak-0.14.2
CC=gcc-4.2 CFLAGS="-m64" LDFLAGS="-m64" make all rel
cd rel/riak
ulimit -n 1024
bin/riak start

I also spoke with Sean Cribbs, a Basho employee who works on Riak that the next stable version of Riak will have proper OS X builds with Lion in mind. In the meantime, following Basho’s instructions with the steps mentioned in this post should be enough. Enjoy!

© Copyright 2010 Haris Amin
blog comments powered by Disqus