Skip to content

Instantly share code, notes, and snippets.

@paulrobinson
Created October 2, 2014 12:33
Show Gist options
  • Save paulrobinson/341a45795b6ed7181c9b to your computer and use it in GitHub Desktop.
Save paulrobinson/341a45795b6ed7181c9b to your computer and use it in GitHub Desktop.
gem install libv8
em install libv8
Building native extensions. This could take a while...
/Users/paul/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/rubygems/ext/builder.rb:73: warning: Insecure world writable dir /Users/paul/.rvm/rubies in PATH, mode 040777
ERROR: Error installing libv8:
ERROR: Failed to build gem native extension.
/Users/paul/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
creating Makefile
/Users/paul/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/open3.rb:193: warning: Insecure world writable dir /Users/paul/.rvm/rubies in PATH, mode 040777
Compiling v8 for x64
Using python 2.7.5
Using compiler: /usr/bin/c++ (clang version 6.0)
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
make[1]: *** [/Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/libpreparser_lib.a] Error 1
make: *** [x64.release] Error 2
/Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/ext/libv8/location.rb:36:in `block in verify_installation!': libv8 did not install properly, expected binary v8 archive '/Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a'to exist, but it was not found (Libv8::Location::Vendor::ArchiveNotFound)
from /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/ext/libv8/location.rb:35:in `each'
from /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/ext/libv8/location.rb:35:in `verify_installation!'
from /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/ext/libv8/location.rb:26:in `install!'
from extconf.rb:7:in `<main>'
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 -Dwerror=''
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/allocation.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/atomicops_internals_x86_gcc.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/bignum.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/bignum-dtoa.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/cached-powers.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/conversions.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/diy-fp.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/dtoa.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/fast-dtoa.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/fixed-dtoa.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/once.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/preparse-data.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/preparser.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/preparser-api.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/scanner.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/strtod.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/token.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/unicode.o
CXX(target) /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/utils.o
LIBTOOL-STATIC /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/libpreparser_lib.a
extconf failed, exit code 1
Gem files will remain installed in /Users/paul/.rvm/gems/ruby-2.1.2/gems/libv8-3.16.14.7 for inspection.
Results logged to /Users/paul/.rvm/gems/ruby-2.1.2/extensions/x86_64-darwin-13/2.1.0-static/libv8-3.16.14.7/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment