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


in reply to Re: Can anybody get CPAN JavaScript libraries to build?
in thread Can anybody get CPAN JavaScript libraries to build?

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)];
  • Comment on Re^2: Can anybody get CPAN JavaScript libraries to build?

Replies are listed 'Best First'.
Re^3: Can anybody get CPAN JavaScript libraries to build?
by Anonymous Monk on Jul 16, 2013 at 13:32 UTC
      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)];
Re^3: Can anybody get CPAN JavaScript libraries to build?
by mtmcc (Hermit) on Jul 16, 2013 at 13:43 UTC
    I think you're probably right.

    -Michael