September 26, 2007

Building CouchDB on OS X

Update: Congrats to the CouchDB team on some major work to the build system! With the help of some folks in #couchdb I got the new build installed on OS X.

  1. Install MacPorts
  2. Run the following:
  3. sudo port install erlang
    sudo port install icu
    sudo port install subversion
    sudo port install automake
    export PATH="/opt/local/bin:$PATH"    # Ensures MacPorts automake gets used rather the OS X version
    svn co http://couchdb.googlecode.com/svn/trunk couchdb
    cd couchdb
    ./bootstrap
    ./configure --prefix=/opt/local
    make
    sudo make install
    sudo couchdb

    This has been verified on OS 10.4.10 with MacPorts 1.520 and CouchDB revision 320. Feel free to email me and I’ll try to help as much as I can.