You should be able to compile it against Debian package libmozjs185-dev (but nothing newer).
----- Original Message ----- From: "david rene comba lareu" <[email protected]> To: [email protected] Sent: Friday, August 22, 2014 11:45:42 PM Subject: Re: can't compile 1.6 under debian wheezy Hi, i managed to compile it using the source version of js ( http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz ) and not libmozjs-dev from debian repository. is this correct? i see the file is from 2011, so maybe is not recommended to use it in production environments. Thanks ! 2014-08-23 0:18 GMT-03:00 david rene comba lareu <[email protected]>: > Hi, > > i'm following this wiki: > > http://wiki.apache.org/couchdb/Installing_on_Debian > > and trying to configure i get: > > checking jsapi.h usability... no > checking jsapi.h presence... yes > configure: WARNING: jsapi.h: present but cannot be compiled > configure: WARNING: jsapi.h: check for missing prerequisite headers? > configure: WARNING: jsapi.h: see the Autoconf documentation > configure: WARNING: jsapi.h: section "Present But Cannot Be Compiled" > configure: WARNING: jsapi.h: proceeding with the compiler's result > configure: WARNING: ## > ------------------------------------------------------------ ## > configure: WARNING: ## Report this to > https://issues.apache.org/jira/browse/COUCHDB ## > configure: WARNING: ## > ------------------------------------------------------------ ## > 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. > > i already searched around the web for a solution, but didn't found > anything useful. any ideas of what i could do? > > Thanks in advance !
