http://qs321.pair.com?node_id=1044532


in reply to Can anybody get CPAN JavaScript libraries to build?

You might have a good point.

I've been trying for an hour or so, and this is as far as I can get, but no further.

Out of interest, did ~/.cpanm/build.log tell you anything?

Let me know if you figure it out, it's bugging me now!

-Michael

Replies are listed 'Best First'.
Re^2: Can anybody get CPAN JavaScript libraries to build?
by Rhandom (Curate) on Jul 16, 2013 at 13:06 UTC

    Yes, for JavaScript, I started out with errors about jsapi.h - which I found in the mozjs bits, which I then got into a path, but then it started not finding other headers, some of which appear to no longer exist.

    It feels like SpiderMonkey has changed its API and JavaScript and JavaScript::SeaMonkey haven't been updated to follow allong.

    my @a=qw(random brilliant braindead); print $a[rand(@a)];
        I mentioned I was able to find jsapi.h, but eventually there is a file that is not found, meaning that particular header was deprecated and removed, but the perl modules never updated with it. I had installed the native libmozjs185 1.0 and dev modules, and I also attempted with home built libraries direct from mozilla.

        The perl JavaScript and JavaScript::SeaMonkey modules do not currently work (and as far as I can tell haven't for at least a year if not longer).
        my @a=qw(random brilliant braindead); print $a[rand(@a)];
      I think you're probably right.

      -Michael