Installing CouchDB From Source On Mac OS X

Wynn and I started dabbling with CouchDB this week. As with any technology, step one when dabbling is installing the software.

For Mac OS X Leopard Intel users, there is a very nice CouchDB packaged zip file that can be downloaded from the Couch Projects Google Code site. The huge positive of going this route is that it is drop dead simple to install. Simply download the .zip file, extract the code, and double-click the “CouchDBX” file. You then simply click the “Play” icon and you are off and running with CouchDB.

The negative going this route is that, as the time of this blog post, this package runs CouchDB version 0.8.1 which is about 7 months old.

In order to run the new 0.9 version of CouchDB, you will need to pull the latest source code from the SVN trunk, install some prereqs, and compile from source. Here are the exact steps I took to get up and running.

NOTE: For details on each of these steps, you can look at the README file that is downloaded with the couchdb source code.

From the command line:

Browse to the following URL in a browser to view your CouchDB Futon admin tool:

http://127.0.0.1:5984/_utils/

  •