Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Can anybody get CPAN JavaScript libraries to build?

by Rhandom (Curate)
on Jul 16, 2013 at 04:17 UTC ( #1044506=note: print w/replies, xml ) Need Help??


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

Such as?

Really? Such as not being able to install. I can tell you what I've tried. I know my installation isn't working. I'm more interested if other people have tried and actually succeeded. Which is why I asked if anybody has actually succeeded in installing.

In the case of V8, I've tried the native libraries that come with ubuntu (currently v8 3.8.9). I've worked with native checkouts of v8 codebase (v8 3.20.5), building them with gyp, and not ending up with any loadable objects (so that directly isn't a JavaScript::V8 issue). I've succeeded in installing Alien::V8 (v8 3.1.5). For the versions I have successfully installed when I then try and build JavaScript::V8 against it and then run tests I get the error listed in the bug that I filed in RT back in April (rt://84478). Around a year ago I got added to the JavaScript::V8 project and started to poke around, and was able to git-bisect when the errors began occuring. I have asked the authors but have heard nothing. The 0.06 version will build against current libraries, but has a terrible conversion bug (Unknown sv type in sv2v8) that was fixed long ago, but not released and is now combined with the other major (but broken) features of 0.07. At work, I had patched the JavaScript::V8 0.06 library 18 months ago to get around this bug and have used it very successfully in a production environment.

On the JavaScript and JavaScript::SpiderMonkey, I have tried various combinations of libraries available on recent ubuntu builds and have not come up with a working combination. I have spent less time on seamonkey and mozjs than with V8, but have come up with less of a working solution.

So again, my question - has anybody successfully installed a CPAN JavaScript library recently?

I am asking because it has been a broken mess for well over a year and doesn't appear to be getting better. If somebody has, awesome!!! I want to see how you did it. But if not, I'll use my already granted git repo access and backout changes in 0.07 to get back to a more working state from which we can make babysteps towards the more fully functional object support of 0.07.

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 07:42 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1044506]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2020-09-25 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (137 votes). Check out past polls.

    Notices?