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 22:57:13 GMT


Noah Slater wrote:
> On Wed, Nov 26, 2008 at 01:58:08PM -0800, Shailesh Kochhar wrote:
>> 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?
>>
> You need to rerun ./bootstrap after your edit.

As you pointed out earlier, ./bootstrap is only available when building 
from SVN. I downloaded the source tarball, there wasn't a ./bootstrap

   -sk




Mime
View raw message