Differences between revisions 8 and 9
Revision 8 as of 2008-11-05 02:00:14
Size: 1049
Editor: MartinCzura
Comment: redirect
Revision 9 as of 2009-09-20 21:45:07
Size: 1049
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
Also see ["InstallingSpiderMonkey"] Also see [[InstallingSpiderMonkey]]

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/incubator/couchdb/trunk couchdb
cd couchdb
./bootstrap -C
./configure --with-js-lib=/usr/local/spidermonkey/lib64 --with-js-include=/usr/local/spidermonkey/include
make && make install

InstallingOnRhel4 (last edited 2009-09-20 21:45:07 by localhost)