couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shailesh Kochhar <koch...@metaweb.com>
Subject Re: Installing couchdb from source on Gentoo64
Date Wed, 26 Nov 2008 21:58:08 GMT
Noah Slater wrote:
> On Wed, Nov 26, 2008 at 12:21:04PM -0800, Shailesh Kochhar wrote:
>> The shared objects are in /usr/lib64/libjs.so and /usr/lib64/libjs.a
>> The jsapi.h is in /usr/include/js
> 
> Hmm, could you try adding the following patch to configure.ac:
> 
>    AC_CHECK_LIB([js], [JS_NewContext], [], [
>        AC_CHECK_LIB([mozjs], [JS_NewContext], [], [
>   +        AC_CHECK_LIB([jsapi], [JS_NewContext], [], [
>                AC_MSG_ERROR([Could not find the js library.
> 
>   -Is the Mozilla SpiderMonkey library installed?])])])
>   +Is the Mozilla SpiderMonkey library installed?])])])])
> 

Unsuccessful. The output from ./configure is still the same. From the 
output, it doesn't seem to be trying the third location, it gives up 
after the first two.

<snip>
checking for pthread_create in -lpthread... yes
checking for JS_NewContext in -ljs... no
checking for JS_NewContext in -lmozjs... no
configure: error: Could not find the js library.

Is the Mozilla SpiderMonkey library installed?

   -sk

Mime
View raw message