-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to install on OS X and Ubuntu #6
Comments
I'll write instruction soon |
@coderkatze you can try my build scripts https://github.com/porzione/v8-git-debian tested only in Debian 7/8 dunno about Ubuntu. Simplest method is third - add repo and install libv8-3.31-dev |
@porzione Thank you very much! Unfortunately I ran into problems trying all three methods: I started with the third method. But I get this error when I run
I also tried it with 'jessie' instead of 'wheezy', then the Then I tried the first method. the
It seems that I needed to copy the gyp executable in the v8 source tree as well. (to gyp/gyp)
Then I also tried the Vagrant method (I needed to edit the Vagrantfile to use box 'debian87' from the Readme), but ended up with the same error from method 1:
Do you have any advice on what I should try? Or could you test the installation and make necessary changes? Thank you. |
@coderkatze Lets focus on first method, pls provide some info about your system:
|
The same from within the vagrant debian-8 vm:
|
@coderkatze It is strange that vagrant has 2.7.13 because Debian 8 Jessie has python 2.7.9 only https://packages.debian.org/jessie/python but we can ignore that. |
@porzione Thanks for the update!
|
Hmm. Why it treats warnings as errers, especually such sebseless as method
not used... I will turn it off soon
Il Sab 3 Giu 2017, 19:26 coderkatze <[email protected]> ha scritto:
… @porzione <https://github.com/porzione> Thanks for the update!
I reset the changes, ran `glient sync' and again 'make x64.release'
It's compiling to some point. The error I am now getting is this:
CXX(target) /tmp/v8/v8/out/x64.release/obj.target/v8_base/src/conversions.o
../src/conversions.cc:56:10: error: ‘uint16_t v8::internal::{anonymous}::StringCharacterStreamIterator::operator*() const’ defined but not used [-Werror=unused-function]
uint16_t StringCharacterStreamIterator::operator*() const {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/conversions.cc:51:1: error: ‘v8::internal::{anonymous}::StringCharacterStreamIterator::StringCharacterStreamIterator(v8::internal::StringCharacterStream*)’ defined but not used [-Werror=unused-function]
StringCharacterStreamIterator::StringCharacterStreamIterator(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
tools/gyp/v8_base.target.x64.release.mk:444: recipe for target '/tmp/v8/v8/out/x64.release/obj.target/v8_base/src/conversions.o' failed
make[1]: *** [/tmp/v8/v8/out/x64.release/obj.target/v8_base/src/conversions.o] Error 1
make[1]: Leaving directory '/tmp/v8/v8/out'
Makefile:293: recipe for target 'x64.release' failed
make: *** [x64.release] Error 2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AASUIVoFht3gxb-XtizRaik63Srxj2H_ks5sAZc-gaJpZM4NryxG>
.
|
@coderkatze Better now ;) |
I disabled the 'warning as error' treatment like so: Then it compiles further, until it breaks at this point (both in my ubuntu system and the vagrant vm):
|
I built v8 without errors on Debian 8 with gcc 4.9.2, pls check gcc version, if you have other version, especially higher, install gcc-4.9 and make it default |
@porzione Thanks again, I switched to gcc-4.9 and was able to build the deb package and install it. I thought I was all set, but I run into this error now, when I try to use the gem:
Do you have an idea what could be the problem? (I installed libicu-52, but libicu57 was already installed, no idea if that's a problem) |
Hi, I'm having trouble installing this gem.
Putting in my Gemfile like in the manual did not work. I ended up with this line:
gem 'h8', github: 'sergeych/hybrid8', require: 'h8'
when I bundle i get this eventually:
I do have libv8 installed though:
It's checking for
'include/v8.h'
though which fails on my system.Help would be greatly appreciated. :)
The text was updated successfully, but these errors were encountered: