Page 3 of 3

libmozjs-dev under Etch seems too old

Posted: Sat Sep 29, 2007 8:51 am
by jynx
I found the file where the missing symbol (JSVERSION_1_7) would be, /usr/include/mozjs/jspubtd.h, and the #define statements only went up to JSVERSION_1_6. So I guess the version supplied with Etch (a.k.a. Debian 4.0) is too old and I should get the scripts used to build the packages to build a copy just for oolite (perhaps to go in /usr/lib/oolite/mozjs/ ? Not sure where the proper place would be).

I wonder if it's possible to get those scripts to detect the version the build or install is occurring on so the right action can be taken for that version or derivative of Debian.

Re: Ran dpkg-buildpackage in trunk/

Posted: Sat Sep 29, 2007 8:54 am
by jynx
Ahruman wrote:
... I’m not sure which Debian package you’re referring to, but...
I meant the oolite-blah.deb package that would be created by the debian build scripts supplied in the SVN trunk (if it built under Etch).

Posted: Sat Sep 29, 2007 9:16 am
by JensAyton
davcefai wrote:
[OOJavaScriptEngine init]: Assertion `JS_CStringsAreUTF8()' failed.
/home/david/elite: line 2: 5578 Aborted /usr/lib/GNUstep/Local/Applications/oolite.app/oolite
If anybody can point out where I went wrong I promise to dump all my gem-stones, gold and platinum next time I meet them in the space-lanes.
The macro JS_C_STRINGS_ARE_UTF8 needs to be defined when building libjs/libmozjs.
jynx wrote:
Ahruman wrote:
... I’m not sure which Debian package you’re referring to, but...
I meant the oolite-blah.deb package that would be created by the debian build scripts supplied in the SVN trunk (if it built under Etch).
Gosh, look, I’d completely forgotten those existed. They’re very definitely not up to date. The person who made them will take a look, pending Copious Free Time in which to do so.