This repository has been archived by the owner on Dec 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
gem install libv8 failed for osx10.10 #123
Comments
I tried
It succeeded. But then therubyracer gem couldn't installed. |
@Buyomer yeah.I'm in the same situation. says therubyracer cannot find and v8 and v8.h even you specify to using system-v8?! strange. |
Dealing with the same issue as you guys. Failed on both ruby 1.9.3 and 2.1 |
@gdavis good to know i am not alone! I could run brew install v8 no problem. but seems libv8 cannot be installed though the source. |
Also hitting this. |
sikachu
added a commit
to sikachu/libv8
that referenced
this issue
Jun 9, 2014
Without this flag, it's unable to compile libv8 on OS X 10.10 due to this error message: ruby ext/libv8/extconf.rb creating Makefile HEAD is now at 7ce3fe1... Version 3.16.14 Using existing [svn-remote "svn"] HEAD is now at f7bc250... Make gyp/win32 compatible with upstream ninja. Compiling v8 for x64 Using python 2.7.6 Using compiler: /usr/bin/c++ (clang version 5.1) ../src/cached-powers.cc:136:18: error: unused variable 'kCachedPowersLength' [-Werror,-Wunused-const-variable] static const int kCachedPowersLength = ARRAY_SIZE(kCachedPowers); ^ 1 error generated. make[1]: *** [/Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/cached-powers.o] Error 1 make: *** [x64.release] Error 2 GYP_GENERATORS=make \ build/gyp/gyp --generator-output="out" build/all.gyp \ -Ibuild/standalone.gypi --depth=. \ -Dv8_target_arch=x64 \ -S.x64 -Dv8_enable_backtrace=1 -Dv8_can_use_vfp2_instructions=true -Darm_fpu=vfpv2 -Dv8_can_use_vfp3_instructions=true -Darm_fpu=vfpv3 CXX(target) /Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/allocation.o CXX(target) /Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/atomicops_internals_x86_gcc.o CXX(target) /Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/bignum.o CXX(target) /Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/bignum-dtoa.o CXX(target) /Users/sikachu/Projects/libv8/vendor/v8/out/x64.release/obj.target/preparser_lib/src/cached-powers.o This has been tested against this version of clang and OS X: $ g++ -v Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin14.0.0 Thread model: posix This should fix rubyjs#123
Cool awesome! Good work @sikachu ! 👍 |
Guys I am facing this issue in windows 7 I tried gem install libv8 -- --with-system-v8 I am using ruby 2.0.0 Please help me on this guys |
sukima
added a commit
to sukima/ppwm
that referenced
this issue
Mar 24, 2016
Email isn't the only thing worth showing the code. With this you can create a DM twitter intent. I tried to keep it simple by having a simple button group that toggles what will be produced when the submit button is pressed. I was **unable** to test any of this due to [lib v8](rubyjs/libv8#123) problems so here is the code and you can edit it as you wish.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey guys, I'm getting those error when run bundle install in ruby 1.9.3
$g++ -v
just wonder is that because the platform: x86_64-apple-darwin14.0.0 is not current supported?
The text was updated successfully, but these errors were encountered: