Differences between revisions 1 and 2
Revision 1 as of 2009-06-05 23:54:13
Size: 768
Editor: 74-140-136-121
Revision 2 as of 2009-09-20 21:44:40
Size: 768
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Tested on NetBSD 5.0

Install prerequisites:

pkg_add icu erlang spidermonkey gmake

Download the source tarball from http://couchdb.apache.org/downloads.html untar and cd in to the directory. Then configure and compile:

./configure --with-js-lib=/usr/pkg/lib --with-js-include=/usr/pkg/include --with-erlang=/usr/pkg/lib/erlang/usr/include
gmake install

Take care of permissions:

useradd couchdb
group add couchdb
touch /usr/local/var/run/couchdb.pid
chown couchdb:couchdb /usr/local/var/run/couchdb.pid
chown couchdb:couchdb /usr/local/var/log/couchdb/couch.log
chown couchdb:couchdb /usr/local/var/lib/couchdb


/usr/local/etc/rc.d/couchdb start

Test: http://localhost:5984/