For me, following worked in Debian squeeze for Couchdb 1.0.2 apt-get install libcurl4-openssl-dev libicu-dev spidermonkey-bin libmozjs-dev
then try configure;make;make install On Wed, Feb 23, 2011 at 12:04 AM, Mehdi El Fadil <[email protected] > wrote: > Hello, > > I have a problem installing couchdb 1.0.2 On Crunchbang linux (based on > Debian Squeeze, pretty much the same). > > Few weeks ago installing same couchdb version in a virtual machine with the > same system went very fine, following instructions from the couchdb > guide<http://guide.couchdb.org/editions/1/en/source.html> > . > > Today, just few updates away, the 'make' step fails, this happens in two > machines with the same distro on it. Here is part of the output of the > command, the full log is attached. > >> couchjs-http.o: In function `status': >> /home/c-user/downloads/apache-couchdb-1.0.2/src/couchdb/priv/couch_js/http.c:289: >> undefined reference to `INT_FITS_IN_JSVAL' >> couchjs-main.o: In function `seal': >> /home/c-user/downloads/apache-couchdb-1.0.2/src/couchdb/priv/couch_js/main.c:209: >> undefined reference to `JS_SealObject' >> couchjs-main.o: In function `readfp': >> /home/c-user/downloads/apache-couchdb-1.0.2/src/couchdb/priv/couch_js/main.c:134: >> undefined reference to `js_fgets' >> couchjs-main.o: In function `evalcx': >> /home/c-user/downloads/apache-couchdb-1.0.2/src/couchdb/priv/couch_js/main.c:62: >> undefined reference to `JS_GetStringChars' >> couchjs-utf8.o: In function `enc_string': >> /home/c-user/downloads/apache-couchdb-1.0.2/src/couchdb/priv/couch_js/utf8.c:132: >> undefined reference to `JS_GetStringChars' >> collect2: ld returned 1 exit status >> make[4]: *** [couchjs] Error 1 >> make[4]: Leaving directory >> `/home/c-user/downloads/apache-couchdb-1.0.2/src/couchdb/priv' >> make[3]: *** [all-recursive] Error 1 >> make[3]: Leaving directory >> `/home/c-user/downloads/apache-couchdb-1.0.2/src/couchdb' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory >> `/home/c-user/downloads/apache-couchdb-1.0.2/src' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/c-user/downloads/apache-couchdb-1.0.2' >> make: *** [all] Error 2 >> > > The closest situation that I have found online is the following, but I am > not sure that the proposed solution (related to js-1.7.0 from mozilla) would > work in my case. > http://web.archiveorange.com/archive/v/oW6Dz2nhI12VkIEAOUzB > > Has anyone got an idea about a possible solution? > > Thanks in advance for your help, > > mehdi > > P.S.: this is my first post here, but I am following the mailing lists > since some weeks already. thanks all for the precious information that you > give here. and congrats to the devs, couchdb looks great. > -- Regards Aravinda | ಅರವಿಂದ http://aravindavk.in
