To back up Claes' point here, I had the smoothest install experience when I
built the JavaScript.pm package against a fresh download of the newest copy
of spidermonkey, at that time 1.6.

On Nov 18, 2007 8:23 AM, Claes Jakobsson <[EMAIL PROTECTED]> wrote:

> 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
>

Reply via email to