You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Alan Bell <al...@theopenlearningcentre.com> on 2008/03/08 21:01:09 UTC

can't find SpiderMonkey

I am having a spot of bother installing CouchDB, I am using a recent SVN 
checkout on Fedora (actually on the OLPC XO laptop which is based on 
Fedora). Running configure tells me it can't find SpiderMonkey. I did
yum install js
and now I think I have SpiderMonkey installed (js - 1.60-2.fc7.i386) 
however the configure script can't find it. Is there something else I 
should do? I don't mind building SpiderMonkey but I would rather just 
use the repositories if at all possible.

Alan.

-- 
Alan Bell
The Open Learning Centre

Web: www.theopenlearningcentre.com
Mob: +44 (0)7736 778908
Tel: +44 (0)8444 849388

The Open Learning Centre is a trading name of Bell Lord Ltd,
a company registered in England and Wales #05868943.
VAT Registration #GB 901 4715 55



Re: can't find SpiderMonkey

Posted by Alan Bell <al...@theopenlearningcentre.com>.
well I update the wiki with installation instructions. When couchdb gets 
packaged as an RPM and .deb obviously the dependency information would 
need to be in the package so that apt or yum can just sort out the 
problems and fetch what it needs (presumably it would not need the devel 
packages when compiled)

It would be great for the configure script to suggest package names like 
js, js-devel and icu, libicu-devel when it trips up over SpiderMonkey 
and ICU etc.
Maybe the readme could be updated with the dependency information for 
Redhat based systems.
It wouldn't hurt to have a little shell script which installs all the 
dependencies via yum or apt-get as appropriate.

Alan.

Noah Slater wrote:
> On Sat, Mar 08, 2008 at 10:14:55PM +0000, Alan Bell wrote:
>   
>> and now I have Apache CouchDB 0.7.3a763 running on the OLPC XO laptop!
>>     
>
> Fantastic! Looking back, is there any way you think the error messages could be
> improved, I would like to fix this for future users too.
>
> Thanks,
>
> --
> Noah Slater <http://bytesexual.org/>
>   


-- 
Alan Bell
The Open Learning Centre

Web: www.theopenlearningcentre.com
Mob: +44 (0)7736 778908
Tel: +44 (0)8444 849388

The Open Learning Centre is a trading name of Bell Lord Ltd,
a company registered in England and Wales #05868943.
VAT Registration #GB 901 4715 55



Re: can't find SpiderMonkey

Posted by Noah Slater <ns...@bytesexual.org>.
On Sat, Mar 08, 2008 at 10:14:55PM +0000, Alan Bell wrote:
> and now I have Apache CouchDB 0.7.3a763 running on the OLPC XO laptop!

Fantastic! Looking back, is there any way you think the error messages could be
improved, I would like to fix this for future users too.

Thanks,

--
Noah Slater <http://bytesexual.org/>

Re: can't find SpiderMonkey

Posted by Alan Bell <al...@theopenlearningcentre.com>.
to sort out the ICU dependency
yum install icu
yum install libicu-devel

and now I have Apache CouchDB 0.7.3a763 running on the OLPC XO laptop!

Alan.

Alan Bell wrote:
> thanks, that helped. Turns out it is called js-devel on Fedora
>
> yum install js-devel
>
> Now I get as far as ICU but I think I can solve that one.
>
> Alan.
>
> Christopher Lenz wrote:
>> On 08.03.2008, at 21:01, Alan Bell wrote:
>>> I am having a spot of bother installing CouchDB, I am using a recent 
>>> SVN checkout on Fedora (actually on the OLPC XO laptop which is 
>>> based on Fedora). Running configure tells me it can't find 
>>> SpiderMonkey. I did
>>> yum install js
>>> and now I think I have SpiderMonkey installed (js - 1.60-2.fc7.i386) 
>>> however the configure script can't find it. Is there something else 
>>> I should do? I don't mind building SpiderMonkey but I would rather 
>>> just use the repositories if at all possible.
>>
>> You're probably just missing the SpiderMonkey header files. On Debian 
>> that's "libmozjs-dev", dunno about Fedora.
>>
>> Cheers,
>> -- 
>> Christopher Lenz
>>   cmlenz at gmx.de
>>   http://www.cmlenz.net/
>>
>
>


-- 
Alan Bell
The Open Learning Centre

Web: www.theopenlearningcentre.com
Mob: +44 (0)7736 778908
Tel: +44 (0)8444 849388

The Open Learning Centre is a trading name of Bell Lord Ltd,
a company registered in England and Wales #05868943.
VAT Registration #GB 901 4715 55



Re: can't find SpiderMonkey

Posted by Alan Bell <al...@theopenlearningcentre.com>.
thanks, that helped. Turns out it is called js-devel on Fedora

yum install js-devel

Now I get as far as ICU but I think I can solve that one.

Alan.

Christopher Lenz wrote:
> On 08.03.2008, at 21:01, Alan Bell wrote:
>> I am having a spot of bother installing CouchDB, I am using a recent 
>> SVN checkout on Fedora (actually on the OLPC XO laptop which is based 
>> on Fedora). Running configure tells me it can't find SpiderMonkey. I did
>> yum install js
>> and now I think I have SpiderMonkey installed (js - 1.60-2.fc7.i386) 
>> however the configure script can't find it. Is there something else I 
>> should do? I don't mind building SpiderMonkey but I would rather just 
>> use the repositories if at all possible.
>
> You're probably just missing the SpiderMonkey header files. On Debian 
> that's "libmozjs-dev", dunno about Fedora.
>
> Cheers,
> -- 
> Christopher Lenz
>   cmlenz at gmx.de
>   http://www.cmlenz.net/
>


-- 
Alan Bell
The Open Learning Centre

Web: www.theopenlearningcentre.com
Mob: +44 (0)7736 778908
Tel: +44 (0)8444 849388

The Open Learning Centre is a trading name of Bell Lord Ltd,
a company registered in England and Wales #05868943.
VAT Registration #GB 901 4715 55



Re: can't find SpiderMonkey

Posted by Christopher Lenz <cm...@gmx.de>.
On 08.03.2008, at 21:01, Alan Bell wrote:
> I am having a spot of bother installing CouchDB, I am using a recent  
> SVN checkout on Fedora (actually on the OLPC XO laptop which is  
> based on Fedora). Running configure tells me it can't find  
> SpiderMonkey. I did
> yum install js
> and now I think I have SpiderMonkey installed (js - 1.60-2.fc7.i386)  
> however the configure script can't find it. Is there something else  
> I should do? I don't mind building SpiderMonkey but I would rather  
> just use the repositories if at all possible.

You're probably just missing the SpiderMonkey header files. On Debian  
that's "libmozjs-dev", dunno about Fedora.

Cheers,
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/