Home  |  Linux  | Mysql  | PHP  | XML
From:Claes Jakobsson Date:Tue Mar  6 14:05:33 2007
Subject:Re: Build problems on Debian Sid
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