Differences between revisions 4 and 5
Revision 4 as of 2009-03-17 06:07:11
Size: 1005
Editor: 123
Comment: otp_src_R12B-2 rise error, see http://wiki.apache.org/couchdb/Error_messages
Revision 5 as of 2009-09-20 21:44:54
Size: 1005
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
Also see ["InstallingSpiderMonkey"] Also see [[InstallingSpiderMonkey]]

Installing on RHEL4 x86_64

1. install erlang

wget http://www.erlang.org/download/otp_src_R12B-5.tar.gz
tar xzvf otp_src_R12B-5.tar.gz
cd otp_src_R12B-5
./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
./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)