small medium large xlarge

24 Dec 2011, 06:37
Tanner Watson (6 posts)

The beta version of the book was updated from using Riak 0.14.1 to 1.0.2. Getting everything set up correctly on Ubuntu was a bit of a pain at first. This was until I realized that the version of Erlang referenced in the book incorrect. The book references that R13B04 was needed , but in fact R14B03 is needed.

Another big problem that I encountered was installing Riak from the source archive. After decompressing and running make all I was getting an error referring to git. Not too sure why make was expecting to be run in an initialized repository.

In case others have had installation problems below are the steps to set up Riak 1.0.2 on Ubuntu 11.04.

Installing Erlang ` sudo apt-get install curl build-essential libncurses5-dev openssl libssl-dev fop xsltproc ` curl -O ` chmod a+x kerl ` ` ./kerl build R14B03 r14b03 ` ` sudo ./kerl install r14b03 /opt/erlang/r14b03 ` ` . /opt/erlang/r14b03/activate `

Installing Riak ` sudo apt-get install build-essential libc6-dev-i386 ` git clone riak ` cd riak ` ` git checkout riak-1.0.2 ` ` make all ` ` make devrel `

24 Dec 2011, 22:37
Eric Redmond (21 posts)

Tanner, you are a rockstar. The new Erlang requirement is total errata, and will be fixed. I wish I could add install instructions into the book… thanks for helping out the Ubuntu users!


You must be logged in to comment