Re: Build problems on Debian Sid
[email protected] (Martyn Smith) Fri, 09 Mar 2007 09:36:45 +1300
| Newsgroups | perl.javascript |
|---|---|
| Message-ID | <[email protected]> |
--=-HH/4gHF2iBn5yfRVh7Wi Content-Type: text/plain Content-Transfer-Encoding: quoted-printable So I managed to get it to build, and the tests ran and passed. But now I have the problem of having installed it (I used dh-make-perl still), and it obviously isn't using my compiled version of the SpiderMonkey lib Any ideas on what I need to change to make that happen ? -- Martyn On Tue, 2007-03-06 at 22:05 +0100, Claes Jakobsson wrote: > Hi, >=20 > There seems to be something wrong currently with the build process =20 > when linking aginst Debian supplied spidermonkey. Others have =20 > reported the same problem. >=20 > The easiest way to solve it right now is that you download and build =20 > your own SpiderMonkey and link aginst that. >=20 > When running Makefile.PL, make sure your environment variable JS_INC =20 > is set to the paths where your SpiderMonkey includes are (use : to =20 > separate directories) and JS_LIB to point to the path where the =20 > libjs.so is. >=20 > /Claes >=20 > On 6 mar 2007, at 21.46, Martyn Smith wrote: >=20 > > I tried using dh-make-perl to build a new version of JavaScript =20 > > (Debian > > Sid only has 0.55 :( ) > > > > I'm having the tests fail with messages like ... > > > > t/00-init.........................NOK 1# Tried to use =20 > > 'JavaScript'. > > # Error: Can't load '/home/martyn/src/debian/JavaScript-1.03/=20 > > blib/arch/auto/JavaScript/JavaScript.so' for module JavaScript: /=20 > > home/martyn/src/debian/JavaScript-1.03/blib/arch/auto/JavaScript/=20 > > JavaScript.so: undefined symbol: js_InternalInvoke at /usr/lib/perl/=20 > > 5.8/DynaLoader.pm line 225. > > # at (eval 3) line 2 > > # Compilation failed in require at (eval 3) line 2. > > # BEGIN failed--compilation aborted at t/00-init.t line 5. > > # Looks like you failed 1 test of 1. > > t/00-init.........................dubious > > Test returned status 1 (wstat 256, 0x100) > > DIED. FAILED test 1 > > Failed 1/1 tests, 0.00% okay > > > > > > > > > > I have installed libmozjs-dev and libmozjs0d, I'm not quite sure =20 > > what to try next :( > > > > Any ideas? > > > > Thanks, > > > > Martyn > > >=20 --=-HH/4gHF2iBn5yfRVh7Wi Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBF8HPdaQzZLHPeR/ERAnX+AJ4vlgqUvp2Q24QVQKT10HeBXsgi9gCfebdy RSmYREkjSmHIeaQS+Hv+1Sk= =GA3+ -----END PGP SIGNATURE----- --=-HH/4gHF2iBn5yfRVh7Wi--