Building CouchDB on Ubuntu 12.04 LTS

I followed the directions at, but I still ran into a small bit of trouble. Here are a couple quick fixes if you're running into issues building couchdb from the source download.

# make
# ...
# ./mochifmt.erl:none: error in parse transform 'eunit_autoexport': {undef,
# ...
apt-get install erlang-eunit

# /etc/init.d/couchdb start
# * Starting database server couchdb
#   Apache CouchDB needs write permission on the PID file: /var/run/couchdb/
#                                                                                 [fail]
chown -R couchdb: /var/run/couchdb

#  ./couchdb
# {"init terminating in do_boot",{{badmatch,{error,{"no such file or directory",""}}},[{couch,start,0},{init,start_it,1},{init,start_em,1}]}}
apt-get install erlang

Also, if you're pulling from github instead of the tar.gz from, you need to start by running ./bootstrap to make the configure script.

Time to relax!

blog/20120704_building_couchdb_on_ubuntu_12.04_lts.txt · Last modified: 2012/07/04 20:02 by Jeremy Murray · []
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki