Are the headers present on your machine? does the command:
ls /usr/lib/xulrunner-devel-1.9.2.10/include list headers? On Tue, 2010-09-28 at 20:45 -0600, MilesTogoe wrote: > On 09/28/2010 08:19 PM, Michael Schneider wrote: > > try also > > > > sudo apt-get install libmozjs-dev libicu-dev libcurl4-gnutls-dev libtool > > > > already did that though libmozjs-dev is obsoleted - now need xulrunner > which we have and yes we ln -s to libmozjs.so - no success. > > > > from > > http://wiki.apache.org/couchdb/Installing_on_Ubuntu > > > > Good luck, > > Mike > > > > On Tue, 2010-09-28 at 19:42 -0600, MilesTogoe wrote: > > > >> we had to remove the conflicting ubuntu version 0.10 but now we're > >> getting the spidermonkey jsapi header missing error > >> > >> we tried: sudo ln -s /usr/lib/xulrunner-1.9.2.10/libmozjs.so > >> /usr/lib/libmozjs.so > >> > >> but still getting the error - > >> > >> a) is there some other fix or or do we have conflicting syntax > >> > >> b) if we're using node with v8 installed - do we even need spidermonkey > >> headers ? > >> > >> > >> > >>> wget http://couchdb.apache.org/downloads.html > >>> sudo apt-get build-dep couchdb > >>> tar xvzf apache-couchdb-1.0.1.tar.gz > >>> cd apache-couchdb-1.0.1 > >>> xulrunner -v > >>> sudo ./configure --prefix=/usr/local/ --with-js-lib=/usr/lib/xulrunner- > >>> devel-1.9.2.10/lib --with-js-include=/usr/lib/xulrunner-devel- > >>> 1.9.2.10/include > >>> sudo make > >>> sudo make install > >>> > >>> sudo vi /etc/passwd change couchdb => /usr/local/var/lib/couchdb > >>> sudo chown -R couchdb: /usr/local/var/{lib,log,run}/couchdb > >>> /usr/local/etc/couchdb > >>> sudo chmod 0770 /usr/local/var/{lib,log,run}/couchdb/ > >>> sudo chmod 664 /usr/local/etc/couchdb/*.ini > >>> sudo chmod 775 /usr/local/etc/couchdb/*.d > >>> > >>> cd /etc/init.d > >>> sudo ln -s /usr/local/etc/init.d/couchdb couchdb > >>> sudo /etc/init.d/couchdb start > >>> > >> > >> > > > > > >
