Skip to content

Instantly share code, notes, and snippets.

@bdha
Created May 20, 2015 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdha/c87f89683c72f662ba2d to your computer and use it in GitHub Desktop.
Save bdha/c87f89683c72f662ba2d to your computer and use it in GitHub Desktop.
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/opt/local/bin/ruby200 extconf.rb
creating Makefile
Compiling v8 for x64
Using python 2.7.9
Using compiler: /opt/local/bin/c++ (GCC version 2.11)
Unable to find a compiler officially supported by v8.
It is recommended to use GCC v4.4 or higher
../src/checks.cc:110:3: fatal error: opening dependency file /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/.deps//var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/checks.o.d.raw: No such file or directory
compilation terminated.
gmake[1]: *** [/var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/checks.o] Error 1
gmake: *** [x64.release] Error 2
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/opt/local/bin/ruby200
--with-system-v8
--without-system-v8
--with-cxx
--without-cxx
--enable-debug
--disable-debug
/var/www/helium.github.io/vendor/bundle/ruby/2.0.0/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 '/var/www/helium.github.io/vendor/bundle/ruby/2.0.0/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 /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/ext/libv8/location.rb:35:in `each'
from /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/ext/libv8/location.rb:35:in `verify_installation!'
from /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/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='' -Dv8_no_strict_aliasing=1
gmake[1]: Entering directory '/var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out'
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/allocation.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/atomicops_internals_x86_gcc.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/bignum.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/bignum-dtoa.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/cached-powers.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/conversions.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/diy-fp.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/dtoa.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/fast-dtoa.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/fixed-dtoa.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/once.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/preparse-data.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/preparser.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/preparser-api.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/scanner.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/strtod.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/token.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/unicode.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser_lib/src/utils.o
AR(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/tools/gyp/libpreparser_lib.a
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/preparser/preparser/preparser-process.o
LINK(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/preparser
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/accessors.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/allocation.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/api.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/assembler.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/ast.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/atomicops_internals_x86_gcc.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/bignum-dtoa.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/bignum.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/bootstrapper.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/builtins.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/cached-powers.o
CXX(target) /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/checks.o
tools/gyp/v8_base.target.x64.mk:213: recipe for target '/var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out/x64.release/obj.target/v8_base/src/checks.o' failed
gmake[1]: Leaving directory '/var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/vendor/v8/out'
Makefile:195: recipe for target 'x64.release' failed
Gem files will remain installed in /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7 for inspection.
Results logged to /var/www/helium.github.io/vendor/bundle/ruby/2.0.0/gems/libv8-3.16.14.7/ext/libv8/gem_make.out
An error occurred while installing libv8 (3.16.14.7), and Bundler cannot continue.
Make sure that `gem install libv8 -v '3.16.14.7'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment