id summary reporter owner description type status priority milestone component version resolution keywords cc 16 JavaScript package on Ubuntu reluc "Since Ubuntu 10.4, there is no more mozjs-dev package. This package was based on SpiderMonkey 1.7, the last one publish by Mozilla. But Mozilla continue to use and improve SpiderMonkey. The actual version is 1.9.2, and when Firefox 4 will be out, SpiderMonkey 2.0 will out too. Since Firefox 2 and XulRunner 1.8, SpiderMonkey has not to be published alone. SpiderMonkey is in XulRunner development package. This mean that we don't need to compile SpiderMonkey on Ubuntu or other Linux system to have SpiderMonkey, we jsut have to use Xulrunner-devel package. The configure script need to be update to look at the good folder for lib and include : * libmozjs.so is in /usr/lib/xulrunner-devel.1.9.13/lib * jsapi.h is in /usr/lib/xulrunner-devel.1.9.2.13/include we can specify --with-js=/usr/lib/xulrunner-devel.1.9.13 I have to do this changes to have a good configuration script : * JS_CPPFLAGS=""-I$JSHOME/include/js"" --> JS_CPPFLAGS=""-I$JSHOME/include"" * JS_LDFLAGS=""-L$JSHOME/lib -ljs -lm"" --> JS_LDFLAGS=""-L$JSHOME/lib -lmozjs -lm"" * JS_LIB=""js"" --> JS_LIB=""mozjs"" and update the Makefile : * JS_FILE= -- >JS_FILE=service_internal_js.o" defect closed major zoo-kernel 1.0 fixed JS config compilation