You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Glenn Silverman <gl...@glenn3.securesites.net> on 2009/05/13 00:14:24 UTC

Unable to install couchdb in RHEL4

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.

[root@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


Re: Unable to install couchdb in RHEL4

Posted by Rangachari Anand <rx...@gmail.com>.
One more tip to keep in mind for installing CouchDB on RHEL derived
distributions is to use EPEL:
http://fedoraproject.org/wiki/EPEL

With EPEL in place, I was able to get most of the packages I needed for Fedora.

R. Anand

On Mon, May 18, 2009 at 12:48 PM, Vinubalaji Gopal <vi...@gmail.com> wrote:
> I had written some instructions about installing couchdb on RHEL 4 -
> will convert it to a blog/wiki entry when I find some time.
>
> http://markmail.org/message/eyexy4n6ttbk5crg#query:related%3Aeyexy4n6ttbk5crg+page:2+mid:l6x57ouf5jl6zacx+state:results
>
> Let me know if that helps. Your error seems to be related to the
> spidermonkey installation and if you build the rpm or do a proper
> installation of spider monkey - it might work.
>

Re: Unable to install couchdb in RHEL4

Posted by Vinubalaji Gopal <vi...@gmail.com>.
I had written some instructions about installing couchdb on RHEL 4 -
will convert it to a blog/wiki entry when I find some time.

http://markmail.org/message/eyexy4n6ttbk5crg#query:related%3Aeyexy4n6ttbk5crg+page:2+mid:l6x57ouf5jl6zacx+state:results

Let me know if that helps. Your error seems to be related to the
spidermonkey installation and if you build the rpm or do a proper
installation of spider monkey - it might work.