I just upgraded to Snow Leopard and found these WIKI notes[1] useful.
Obviously Debian is a different beast but there may be some tidbits in
here. I ending up blowing away and reinstalling macports and then
building it all from scratch.
A big thanks to davisp, janl, and all those on the ml for all the
comments, notes, etc.. and taking the arrows on this. I reckon it
saved me half a day, beers are owed :)
[1] http://wiki.apache.org/couchdb/Installing_on_OSX
On Sep 12, 2009, at 9:22 AM, dmcreynolds wrote:
Forgive my ignorance. Having a little trouble building on debian.
configure: error: Could not find the js library.
Is the Mozilla SpiderMonkey library installed?
www:/opt/couchdb# apt-get install spidermonkey-bin libmozjs0d
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libnspr4-0d
The following NEW packages will be installed:
libmozjs0d libnspr4-0d spidermonkey-bin
0 upgraded, 3 newly installed, 0 to remove and 28 not upgraded.
<snip>
Setting up libnspr4-0d (1.8.0.15~pre080614i-0etch1) ...
Setting up libmozjs0d (1.8.0.15~pre080614i-0etch1) ...
Setting up spidermonkey-bin (1.8.0.15~pre080614i-0etch1) ...
www:/opt/couchdb# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
<snip>
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?