LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Stig Brautaset Date: Thu Mar 8 16:56:05 2007 Subject: Re: Build problems on Debian Sid
Hi Martyn, Where did you install SpiderMonkey? If you installed it into /usr/ local/lib (the default?) you may need to add that directory to /etc/ ld.so.conf and re-run /sbin/ldconfig . Hope that helps, Stig On 8 Mar 2007, at 20:36, Martyn Smith wrote: > 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, >> >> There seems to be something wrong currently with the build process >> when linking aginst Debian supplied spidermonkey. Others have >> reported the same problem. >> >> The easiest way to solve it right now is that you download and build >> your own SpiderMonkey and link aginst that. >> >> When running Makefile.PL, make sure your environment variable JS_INC >> is set to the paths where your SpiderMonkey includes are (use : to >> separate directories) and JS_LIB to point to the path where the >> libjs.so is. >> >> /Claes >> >> On 6 mar 2007, at 21.46, Martyn Smith wrote: >> >>> I tried using dh-make-perl to build a new version of JavaScript >>> (Debian >>> Sid only has 0.55 :( ) >>> >>> I'm having the tests fail with messages like ... >>> >>> t/00-init.........................NOK 1# Tried to use >>> 'JavaScript'. >>> # Error: Can't load '/home/martyn/src/debian/JavaScript-1.03/ >>> blib/arch/auto/JavaScript/JavaScript.so' for module JavaScript: / >>> home/martyn/src/debian/JavaScript-1.03/blib/arch/auto/JavaScript/ >>> JavaScript.so: undefined symbol: js_InternalInvoke at /usr/lib/perl/ >>> 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 >>> what to try next :( >>> >>> Any ideas? >>> >>> Thanks, >>> >>> Martyn >>> >>
| Navigate in group perl.javascript at sever nntp.perl.org | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |