Fresh installation of Linux Mint 10. Most of the steps work except for linking with the JS libs in xulrunner.
My initial attempt to use build-couchdb failed; I decided to compile CouchDB 1.1 from source.
- $ sudo apt-get install build-essential
- $ sudo apt-get install zlib1g-dev libssl-dev libreadline5-dev
- Go to otp source tree.
- $ ./configure
- $ make && sudo make install
- $ sudo apt-get install xulrunner-1.9.2-dev libicu-dev libcurl4-gnutls-dev libtool
- $ cd /usr/lib
- $ sudo ln -s /usr/lib/xulrunner-1.9.2.23/libmozjs.so .
- $ cd /usr/include
- $ sudo ln -s /usr/lib/xulrunner-devel-1.9.2.23/include/js* .
- Go to couchdb source tree.
- $ ./configure
- $ make && sudo make install