Skip Menu |
 

This queue is for tickets about the JavaScript-V8 CPAN distribution.

Report information
The Basics
Id: 97579
Status: resolved
Priority: 0/
Queue: JavaScript-V8

People
Owner: Nobody in particular
Requestors: richie765 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



MIME-Version: 1.0
X-Spam-Status: No, score=-2.449 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
X-Mailer: MailMate (1.8r4317)
X-Spam-Flag: NO
content-type: text/plain; charset="utf-8"; format="flowed"
Message-ID: <69AEC510-867F-4B2D-A288-0B760D3CD38F [...] gmail.com>
X-Received: by 10.236.38.71 with SMTP id z47mr58782420yha.18.1406606643092; Mon, 28 Jul 2014 21:04:03 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.449
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 8542C24015E for <cpan-bug+JavaScript-V8 [...] hipster.bestpractical.com>; Tue, 29 Jul 2014 00:04:10 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hfwRa7IE0coT for <cpan-bug+JavaScript-V8 [...] hipster.bestpractical.com>; Tue, 29 Jul 2014 00:04:09 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 880E7240039 for <bug-JavaScript-V8 [...] rt.cpan.org>; Tue, 29 Jul 2014 00:04:09 -0400 (EDT)
Received: (qmail 6069 invoked by alias); 29 Jul 2014 04:04:08 -0000
Received: from mail-yk0-f171.google.com (HELO mail-yk0-f171.google.com) (209.85.160.171) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 28 Jul 2014 21:04:06 -0700
Received: by mail-yk0-f171.google.com with SMTP id 19so5219883ykq.30 for <bug-JavaScript-V8 [...] rt.cpan.org>; Mon, 28 Jul 2014 21:04:03 -0700 (PDT)
Received: from [192.168.0.21] ([181.59.97.94]) by mx.google.com with ESMTPSA id c25sm41049404yhc.24.2014.07.28.21.04.02 for <bug-JavaScript-V8 [...] rt.cpan.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 28 Jul 2014 21:04:02 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+JavaScript-V8 [...] hipster.bestpractical.com
Subject: Full Mac OS X installation instructions
Return-Path: <richie765 [...] gmail.com>
X-RT-Mail-Extension: javascript-v8
X-Original-To: cpan-bug+JavaScript-V8 [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=thIQzVRDKnBY+xLDSRi/bO3HtGUWAf9k0ZzWwBwsbag=; b=KRAXJkZMSelmxagaP8+K9ByRS+r5RDRPL1AYAHFlvogWLwbt17qgg+F7phqR+c8N2W zIDurFhk80M9EkO6CXdKec8ER8kOnFq117sXrCzIi1Kj2mA2Ja6EGxFmpN63Q9ByTvlN znxhmseTokMf/Op6VUPJCbk83gsj74wh6jzEhlXlr6DNyr/Sz+RW899wlSMmsmLWPpkx pkBkmArUzId2sL691X6XjMAv5FUh4G3ot7T2VQxWqHw7Tcezd0Oi9GQkftrwF1ojF1cs VRk4IcbA25n/nm0HiytaHqtCNMTJ69j0FgKK+AwH9ITM7wV7LCWcJ0EQTKC9Fp82HDhG 9Y8w==
Date: Mon, 28 Jul 2014 23:04:00 -0500
X-Spam-Level:
To: bug-JavaScript-V8 [...] rt.cpan.org
From: "Richard Faasen" <richie765 [...] gmail.com>
X-RT-Original-Encoding: ascii
X-RT-Interface: Email
Content-Length: 933
Download (untitled) / with headers
text/plain 933b
I found this module very useful, unfortunately it doesn't install right out of the box due to changes to the V8 API. The following are detailed instructions for installing on OS X, perhaps it could be placed into the POD. Install proper GCC --- brew install apple-gcc42 Install correct V8 version (3.15.11) --- cd /usr/local/Library/Formula git show e3ca3099c97ec26c66331c2100eaee87a1125092:Library/Formula/v8.rb Show quoted text
> /tmp/v8.rb
brew unlink v8 brew install /tmp/v8.rb cd /usr/local/lib cp libv8.dylib libv8perl.dylib chmod +w libv8perl.dylib install_name_tool -id /usr/local/lib/libv8perl.dylib libv8perl.dylib chmod -w libv8perl.dylib Unpack CPAN package and make some changes --- cpanm --look JavaScript::V8 vi Makefile.PL Line 10: Change v8 to v8perl Line 16: Change g++ to g++-4.2 Line 25: Change -lv8 to -lv8perl Compile and install --- V8_DIR=/usr/local/Cellar/v8/3.15.11 perl Makefile.PL make make test make install
MIME-Version: 1.0
In-Reply-To: <69AEC510-867F-4B2D-A288-0B760D3CD38F [...] gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <69AEC510-867F-4B2D-A288-0B760D3CD38F [...] gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-12986-1406643309-462.97579-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 642
Download (untitled) / with headers
text/plain 642b
On 2014-07-28 21:04:11, richie765@gmail.com wrote: Show quoted text
> I found this module very useful, unfortunately it doesn't install right > out of the box due to changes to the V8 API. The following are detailed > instructions for installing on OS X, perhaps it could be placed into the > POD.
Show quoted text
> Unpack CPAN package and make some changes > --- > cpanm --look JavaScript::V8 > vi Makefile.PL > Line 10: Change v8 to v8perl > Line 16: Change g++ to g++-4.2 > Line 25: Change -lv8 to -lv8perl
Since it's possible for the Makefile.PL to detect the architecture and OS version, it could adjust its own parameters and make these manual changes unnecessary.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-12986-1406643309-462.97579-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <69AEC510-867F-4B2D-A288-0B760D3CD38F [...] gmail.com> <rt-4.0.18-12986-1406643309-462.97579-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-15391-1554947517-1162.97579-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 396
Download (untitled) / with headers
text/plain 396b
What would be even better is to have an Alien::v8. However, I can't really put things as specific as these instructions in the POD (including to use a bespoke name for the library). The use of ExtUtils::CppGuess should help because that works fine with clang++. Closing but please reopen if problems remain! As Ether says, this really should work out of the box, and I will fix it till it does!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.