Random Musings

O for a muse of fire, that would ascend the brightest heaven of invention!


Building the first CouchDB Release

Friday, 9 Jul 2010 Tags: couchdbreleases

Building the first ever CouchDB release coincided nicely with a complete fresh Snow Leopard install due to a dead disk. So this time I’ve tried out homebrew instead of macports as recommended by jan@

brew install erlang
brew install icu4c
brew link icu4c

Then, to install CouchDB normally you’d just go ahead and brew install couchdb… and relax. But for a release it’s different; download the bits and:

cd /tmp
tar xvzf ~/Downloads/apache-couchdb-1.0.0.tar.gz
cd apache-couchdb-1.0.0.tar.gz
./configure --prefix=/tmp/couchdb
make
make check
make install
pushd /tmp/couchdb/bin
./couchdb &

Then go to the browser-based test suite to check its all good.