I am unable to install couchdb in RHEL4.
Here is the output I get when I run make && make install from the
couchdb directory and
after following all the other instructions in the installation guide.
[r...@glenn3 couchdb]# make && make install
make all-recursive
make[1]: Entering directory `/usr/local/couchdb'
Making all in bin
make[2]: Entering directory `/usr/local/couchdb/bin'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/couchdb/bin'
Making all in etc
make[2]: Entering directory `/usr/local/couchdb/etc'
Making all in couchdb
make[3]: Entering directory `/usr/local/couchdb/etc/couchdb'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/couchdb/etc/couchdb'
Making all in default
make[3]: Entering directory `/usr/local/couchdb/etc/default'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/couchdb/etc/default'
Making all in init
make[3]: Entering directory `/usr/local/couchdb/etc/init'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/couchdb/etc/init'
Making all in launchd
make[3]: Entering directory `/usr/local/couchdb/etc/launchd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/couchdb/etc/launchd'
Making all in logrotate.d
make[3]: Entering directory `/usr/local/couchdb/etc/logrotate.d'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/couchdb/etc/logrotate.d'
make[3]: Entering directory `/usr/local/couchdb/etc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/local/couchdb/etc'
make[2]: Leaving directory `/usr/local/couchdb/etc'
Making all in src/couchdb
make[2]: Entering directory `/usr/local/couchdb/src/couchdb'
/bin/sh ../../libtool --mode=link --tag=CC gcc -g -O2 -L/usr/local/lib
-L/opt/local/lib -I/usr/local/lib/erlang/usr/include
-I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include
-I/opt/local/lib/erlang/usr/include -I/usr/local/spidermonkey/include
-DXP_UNIX -lm -o couchjs couchjs-couch_js.o couchjs-curlhelper.o
-lcurl -ljs -L/usr/local/lib -L/opt/local/lib -lpthread -lcrypt
gcc -g -O2 -I/usr/local/lib/erlang/usr/include
-I/usr/lib/erlang/usr/include -I/usr/local/lib/erlang/usr/include
-I/opt/local/lib/erlang/usr/include -I/usr/local/spidermonkey/include
-DXP_UNIX -o couchjs couchjs-couch_js.o couchjs-curlhelper.o
-L/usr/local/lib -L/opt/local/lib -lm -lcurl -ljs -lpthread -lcrypt
couchjs-couch_js.o: In function `ReadLine':
/usr/local/couchdb/src/couchdb/couch_js.c:318: undefined reference to
`js_fgets'
couchjs-couch_js.o: In function `generateCurlHeaders':
/usr/local/couchdb/src/couchdb/couch_js.c:544: undefined reference to
`JS_NewPropertyIterator'
/usr/local/couchdb/src/couchdb/couch_js.c:576: undefined reference to
`JS_NextProperty'
collect2: ld returned 1 exit status
make[2]: *** [couchjs] Error 1
make[2]: Leaving directory `/usr/local/couchdb/src/couchdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/couchdb'
make: *** [all] Error 2