On Jul 1, 2010, at 1:50 PM, ilker cigdemal wrote: > Hello everyone, > I am going to work with couchdb so i need to install it. I install all > prerequisites for installing couchdb i installed and created some databases > and documents then i run a view but it didn't work. So i noticed that i > haven't install spider monkey. I uninstalled couchdb i installed spider > monkey. I followed these steps to install spider monkey: > I use ubuntu 10.04, it doesn't have a package so, i need to install from > source >
Hey I just noticed your message -- maybe check http://wiki.apache.org/couchdb/Installing_on_Ubuntu I think the important bit is the --with-js stuff Sorry I don't run Ubunut -- you might already have CouchDB running, you could try these instructions to find it. http://ubuntuforums.org/showthread.php?t=1299267 Let us know how it goes! Chris > make BUILD_OPT=1 -f Makefile.ref > ln -s /home/ilker/js/src/Linux_All_OPT.OBJ/libjs.so /usr/local/lib > mkdir -p /usr/local/include/js > > r...@ilker-laptop:/home/ilker/js/src# cp *.h Linux_All_OPT.OBJ/jsautocfg.h > *.msg /usr/local/include/js > > but when i try to configure couchdb > r...@ilker-laptop:/opt/apache-couchdb-0.11.0# ./configure > i get this message at the end > checking for JS_NewContext in -lmozjs... no > checking for JS_NewContext in -ljs... yes > checking jsapi.h usability... no > checking jsapi.h presence... no > checking for jsapi.h... no > checking js/jsapi.h usability... no > checking js/jsapi.h presence... no > checking for js/jsapi.h... no > configure: error: Could not find the jsapi header. > Are the Mozilla SpiderMonkey headers installed? > > so i have jsapi.h file in /usr/local/include/js > but i think couchdb cannot see it > where do i need to put my spider monkey lib? > i mean, how can i do a proper spider monkey installation?
