How to compile from source in Linux?

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

jynx
Poor
Poor
Posts: 7
Joined: Wed Sep 19, 2007 5:42 pm

libmozjs-dev under Etch seems too old

Post 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.
jynx
Poor
Poor
Posts: 7
Joined: Wed Sep 19, 2007 5:42 pm

Re: Ran dpkg-buildpackage in trunk/

Post 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).
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post 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.
Post Reply