Databases Reference
In-Depth Information
products is freely available and you can choose to build and install the software programs from
source. As an example, the following section demonstrates how to build and install CouchDB from
source on Unbuntu 10.04.
Installing CouchDB from Source on Ubuntu 10.04
CouchDB can be installed from source on Ubuntu Linux using the following steps:
1.
Install the dependencies:
sudo apt-get build-dep couchdb
sudo apt-get install xulrunner-1.9.2-dev libicu-dev libcurl4-gnutls-dev libtool
2.
Get the xulrunner version as follows:
xulrunner -v
The output on Ubunutu 10.04 on my machine was Mozilla XULRunner 1.9.2.17 -
20110424212116 .
3.
Create an xulrunner shared library loading confi guration. This is needed because there may
be many xulrunner versions, and the OS:
sudo vi /etc/ld.so.conf.d/xulrunner.conf
4.
Add the following lines:
/usr/lib/xulrunner-1.9.2.17
/usr/lib/xulrunner-devel-1.9.2.17
5.
Run ldconfig :
sudo /sbin/ldconfig
6.
Get the source code from the code repository. You can use either SVN or Git.
git clone git://git.apache.org/couchdb.git
7.
Change to the source directory:
cd couchdb
8.
Bootstrap the build:
./bootstrap
Note that if you get an error here, you may have to install dependencies, which are covered
in the INSTALL.Unix fi le included in the distribution. aclocal may also need to be installed
with sudo apt-get install automake .
Search WWH ::




Custom Search