Subject: | JavaScript doesn't build with the version of mozjs in stable debian |
Date: | Mon, 11 Nov 2013 13:04:54 +0000 |
To: | bug-JavaScript [...] rt.cpan.org |
From: | joe higton <draxil [...] gmail.com> |
Building trying to install JavaScript in Debian 7.0 gets me:
JavaScript_Env.h:11:28: fatal error: mozjs/jsinterp.h: No such file or
directory
compilation terminated.
Failed compiling test_js.c. ABORTING
If I look in the directory I get:
ls /usr/include/mozjs/
ds jsatom.h jscpucfg.h jslock.h jsproto.tbl jsutil.h
vm
gc jsatom.tbl jsdbgapi.h js.msg jsproxy.h jsval.h
js jsclass.h jsdhash.h json.h jsprvtd.h jsversion.h
jsalloc.h jsclist.h jsfriendapi.h jsperf.h jspubtd.h jswrapper.h
jsapi.h js-config.h jsgc.h jsprf.h jstypes.h mozilla
The version of libmozjs now in Debian is 1.8.5, so I am guessing they
changed the API underneath you.
And of course Debian has dropped the package for this module, which is a
real shame.
I'm trying the manual build route to get an older version of the library
working in current debian.
Obviously if there's anything I can do to help please ask.
Thanks,
Joe