develooper Front page | perl.javascript | Postings from November 2007

Re: Problems with JavaScript 1.04

Thread Previous | Thread Next
From:
Claes Jakobsson
Date:
November 18, 2007 08:24
Subject:
Re: Problems with JavaScript 1.04
Message ID:
8C29C11B-9145-4951-A833-81ED17AD1066@surfar.nu
Hi,

On 18 nov 2007, at 03.06, Gary Bruce wrote:

> I'm having problems using JavaScript 1.04.  I downloaded, unpacked  
> and made
> the tar file from the CPAN site.
>
> The make and installation was somewhat problematic.  The module would
> not make using the CPAN module.  The version downloaded by CPAN was  
> 1.03 not
> 1.04.
>
> After some investigation into this list I set the JS_INC and JS_LIB
> environment variables as directed.  I was able to get a clean "perl
> Makefile.PL" and "make".  "make test" failed 30 out of 32 tests, but  
> the
> "make install" seemed to do OK.
>
> I cut and pasted the "99 bottles of beer" sample program from the  
> man page.
> Upon running it as "perl javatest.pl" I get the following error:
>
> /libexec/ld-elf.so.1: /usr/local/lib/libnspr4.so.1: Undefined symbol
> "pthread_condattr_init"
>
> I'm running on FreeBSD 6.2 on an i386 32 bit platform.
>
> Anyone have any ideas?
>
> Thanks,
> Gary

This looks like a problem with the SpiderMonkey and NSPR libraries you  
have installed on your machine and not a problem with JavaScript.pm.

What spidermonkey libs are you building against?

/Claes

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About