Installing CouchDB 1.1.0 on Ubuntu 10.04 LTS (Lucid Lynx)
I needed to piece together several sources (see the links at end of this post) to install CouchDB 1.1.0 on Ubuntu 10.04 LTS (Lucid Lynx).
First, get build essentials:
sudo apt-get install build-essential
Next, install SpiderMonkey 1.8.5:
wget http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
tar -xvf js185-1.0.0.tar.gz
cd js-1.8.5/js/src
make
make install
Get the libraries required for making, configuring, and installing CouchDB:
sudo apt-get install xulrunner-dev
sudo apt-get install erlang libicu-dev libcurl4-openssl-dev
Inside the CouchDB installation’s bin directory, run:
./configure –with-erlang=/wherever/your/erlang/install/is –with-js-lib=/usr/local/lib/ –with-js-include=/usr/local/include/js/
You should see:
You have configured Apache CouchDB, time to relax.
Run (enter your sudo password when prompted during the installation):
make && sudo make install
After installation, you’ll see:
You have installed Apache CouchDB, time to relax.
Next, run CouchDB by running this command from within CouchDB’s bin directory:
sudo ./couchdb
You’ll see:
Apache CouchDB has started. Time to relax.
Finally, browse to http://localhost:5984 or http://localhost:5984/_utils/ to make sure everything worked.
Sources: