Differences between revisions 2 and 3
Revision 2 as of 2008-12-15 16:38:20
Size: 1008
Editor: 129
Comment: CouchDB repository URL does not contain "incubator" any more
Revision 3 as of 2008-12-15 16:39:45
Size: 1005
Editor: 129
Comment: "bootstrap" command no longer accepts "-C" option
Deletions are marked like this. Additions are marked like this.
Line 32: Line 32:
./bootstrap -C ./bootstrap

Installing on RHEL4 x86_64

1. install erlang

wget http://www.erlang.org/download/otp_src_R12B-2.tar.gz
tar xzvf otp_src_R12B-2.tar.gz
cd otp_src_R12B-2
./configure && make && sudo make install
cd ..

2. install other dependencies. you'll need EPEL and/or RPMForge

yum install icu libicu-devel js js-devel

3. install spidermonkey ( step may be optional if you can get js/js-devel as above)

Also see ["InstallingSpiderMonkey"]

wget http://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz
tar xvzf js-1.7.0.tar.gz
cd js/src/
make -f Makefile.ref # (add BUILD_OPT=1 for non-debug build?)
JS_DIST=/usr/local/spidermonkey make -f Makefile.ref export
cd ..
cd ..

4. install couchdb

svn checkout http://svn.apache.org/repos/asf/couchdb/trunk couchdb
cd couchdb
./bootstrap
./configure --with-js-lib=/usr/local/spidermonkey/lib64 --with-js-include=/usr/local/spidermonkey/include
make && make install

Installing_on_RHEL4 (last edited 2011-11-23 14:32:05 by 62)