incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sho Fukamachi <sho.fukama...@gmail.com>
Subject Re: building couchdb from svn
Date Fri, 18 Apr 2008 04:36:47 GMT
OK, thanks for that - looks like I'll have to try again from scratch,  
although I'm relieved that at least one person on RHEL/CentOS 4 has  
gotten it working ....

thanks again,

Sho


On 18/04/2008, at 2:01 PM, Dennis Sacks wrote:

> Yep, I successfully ran the test suite with no JS errors.
>
> Dennis
>
> On Thu, Apr 17, 2008 at 6:54 PM, Sho Fukamachi <sho.fukamachi@gmail.com 
> >
> wrote:
>
>> Hey, Dennis, can you confirm that the inbuilt test suite is passing  
>> for
>> you?
>>
>> I followed a similar procedure (but on RHEL4) and it seemed to  
>> install
>> fine, but then ran extremely slowly and the test suite was full of
>> JS-related errors. I haven't had time to try to sort out the  
>> problems but
>> I'm interested to hear if you've indeed got it running perfectly on a
>> similar system...
>>
>> thanks a lot.
>>
>> Sho
>>
>>
>>
>> On 18/04/2008, at 7:39 AM, Dennis Sacks wrote:
>>
>> Okay, I installed spidermonkey according to the directions you  
>> pointed
>>> to,
>>> that seemed to fix the problem. I was able to configure and then  
>>> compile
>>> couchdb without error. Thanks!
>>>
>>> Dennis
>>>
>>> On Thu, Apr 17, 2008 at 12:40 PM, Jan Lehnardt <jan@prima.de> wrote:
>>>
>>> and http://wiki.apache.org/couchdb/InstallingSpiderMonkeyFromSource
>>>>
>>>> On Apr 17, 2008, at 21:33, Dennis Sacks wrote:
>>>>
>>>> I blew away what I was working on, to start anew. I did:
>>>>>
>>>>> svn co http://svn.apache.org/repos/asf/incubator/couchdb/trunkcouchdb
>>>>> ./bootstrap
>>>>> ./configure --prefix=/usr/local/couchdb
>>>>>
>>>>> Interestingly, the end of the configure output looks like this:
>>>>>
>>>>> checking for JS_NewContext in -ljs... yes
>>>>> checking jsapi.h usability... no
>>>>> checking jsapi.h presence... no
>>>>> checking for jsapi.h... no
>>>>> configure: error: Could not find the jsapi header.
>>>>>
>>>>> Are Mozilla SpiderMonkey headers installed?
>>>>>
>>>>> So in that case, it looks like the spidermonkey library file is
>>>>> being
>>>>> found.
>>>>>
>>>>>
>>>>> I then try specifying --with-js-include=/usr/local/include or
>>>>> --with-js-include=/usr/local/include/js and neither one alters the
>>>>> output of
>>>>> configure.
>>>>>
>>>>> I also tried doing:
>>>>>
>>>>> CPPFLAGS=-I/usr/local/include ./configure ...
>>>>>
>>>>> and
>>>>>
>>>>> CPPFLAGS=-I/usr/local/include/js ./configure
>>>>>
>>>>> but neither one of those makes a difference either.
>>>>>
>>>>> Dennis
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Apr 17, 2008 at 9:38 AM, Dennis Sacks <
>>>>> dennis.sacks@gmail.com>
>>>>> wrote:
>>>>>
>>>>> Yep, I've tried with --with-js-include=/usr/local/include and
>>>>> without.
>>>>>
>>>>>>
>>>>>> I'm on CentOS 4
>>>>>>
>>>>>> Dennis
>>>>>>
>>>>>>
>>>>>> On Thu, Apr 17, 2008 at 7:36 AM, Jan Lehnardt <jan@prima.de>
>>>>>> wrote:
>>>>>>
>>>>>> Hi Dennis.
>>>>>>
>>>>>>> On Apr 17, 2008, at 13:48, Dennis Sacks wrote:
>>>>>>>
>>>>>>> ./configure  outout errors with this:
>>>>>>>
>>>>>>>>
>>>>>>>> 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?
>>>>>>>>
>>>>>>>> I specified --with-js-lib=/usr/local/lib or without (doesn't
>>>>>>>> seem
>>>>>>>> to
>>>>>>>> matter)
>>>>>>>>
>>>>>>>>
>>>>>>>> Can you try with setting --with-js-include=/usr/local/include
>>>>>>> as
>>>>>>> well?
>>>>>>>
>>>>>>> Which OS are you on?
>>>>>>>
>>>>>>> Cheers
>>>>>>> Jan
>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>
>>


Mime
View raw message