Noah Slater wrote:
On Wed, Nov 26, 2008 at 01:58:08PM -0800, Shailesh Kochhar wrote:
Noah Slater wrote:
On Wed, Nov 26, 2008 at 12:21:04PM -0800, Shailesh Kochhar wrote:
The shared objects are in /usr/lib64/libjs.so and /usr/lib64/libjs.a
The jsapi.h is in /usr/include/js
Hmm, could you try adding the following patch to configure.ac:
AC_CHECK_LIB([js], [JS_NewContext], [], [
AC_CHECK_LIB([mozjs], [JS_NewContext], [], [
+ AC_CHECK_LIB([jsapi], [JS_NewContext], [], [
AC_MSG_ERROR([Could not find the js library.
-Is the Mozilla SpiderMonkey library installed?])])])
+Is the Mozilla SpiderMonkey library installed?])])])])
Unsuccessful. The output from ./configure is still the same. From the
output, it doesn't seem to be trying the third location, it gives up
after the first two.
<snip>
checking for pthread_create in -lpthread... yes
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?
You need to rerun ./bootstrap after your edit.
As you pointed out earlier, ./bootstrap is only available when building
from SVN. I downloaded the source tarball, there wasn't a ./bootstrap
-sk