Skip to content

Instantly share code, notes, and snippets.

Created August 3, 2014 12:07
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 anonymous/90261eba6df90cabfc48 to your computer and use it in GitHub Desktop.
Save anonymous/90261eba6df90cabfc48 to your computer and use it in GitHub Desktop.
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/bin/ruby21 extconf.rb
creating Makefile
Compiling v8 for x64
Using python 2.7.8
Unable to find a compiler officially supported by v8.
It is recommended to use GCC v4.4 or higher
Using compiler: g++
Unable to find a compiler officially supported by v8.
It is recommended to use GCC v4.4 or higher
cc1plus: error: unrecognized command line option "-Wno-unused-local-typedefs"
gmake[1]: *** [/usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/vendor/v8/out/x64.release/obj.target/preparser gmake[1]: *** [/usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/vendor/v8/out/x64.release/obj.target/preparser_lib/src/allocation.o] Error 1
gmake: *** [x64.release] Error 2
/usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/ext/libv8/location.rb:36:in `block in verify_installation!': libv8 did not install properly, expected binary v8 archive '/usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/vendor/v /usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/ext/libv8/location.rb:36:in `block in verify_installation!': libv8 did not install properly, expected binary v8 archive '/usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a'to exist, but it was not found (Libv8::Location::Vendor::ArchiveNotFound)
from /usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/ext/libv8/location.rb:35:in `each'
from /usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/ext/libv8/location.rb:35:in `verify_installation!'
from /usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/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 -S.x64 -Dv8_enable_backtrace=1 -Dv8_can_use_vfp2_instructions=true -Darm_fpu=vfpv2 -Dv8_can_use_vfp3_instructions=true -Darm_fpu=vfpv3 -Dv8_no_strict_aliasing=1
gmake[1]: Entering directory `/usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/vendor/v8/out'
CXX(target) /usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/vendor/v8/out/x64.release/obj.target/preparser_ CXX(target) /usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/vendor/v8/out/x64.release/obj.target/preparser_lib/src/allocation.o
gmake[1]: Leaving directory `/usr/local/www/sites/site1/shared/bundle/ruby/2.1/gems/libv8-3.16.14.3/vendor/v8/out'
Gem files will remain installed in /usr/local/www/sites/site1/tmp/build-1407067467/vendor/bundle/ruby/2.1/gems/libv8-3.16.14.3 for i Gem files will remain installed in /usr/local/www/sites/site1/tmp/build-1407067467/vendor/bundle/ruby/2.1/gems/libv8-3.16.14.3 for inspection.
Results logged to /usr/local/www/sites/site1/tmp/build-1407067467/vendor/bundle/ruby/2.1/gems/libv8-3.16.14.3/ext/libv8/gem_make.out
An error occurred while installing libv8 (3.16.14.3), and Bundler cannot
continue.
Make sure that `gem install libv8 -v '3.16.14.3'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment