An installation of BEEF fails because libv8 will not build.
Any help would be appreciated ... here's what happened:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/ext/libv8
/usr/local/rvm/rubies/ruby-2.3.3/bin/ruby -r ./siteconf20170312-4163-152n5h4.rb extconf.rb
creating Makefile
Compiling v8 for ia32
Using python 2.7.3
Using compiler: /usr/bin/g++
In file included from ../src/allocation.h:31:0,
from ../src/allocation.cc:28:
../src/globals.h:113:2: error: #error Target architecture ia32 is only supported on ia32 host
make[1]: *** [/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out/ia32.release/obj.target/preparser_lib/src/allocation.o] Error 1
make: *** [ia32.release] Error 2
/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/ext/libv8/location.rb:36:in block in verify_installation!': libv8 did not install properly, expected binary v8 archive '/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a'to exist, but it was not found (Libv8::Location::Vendor::ArchiveNotFound) from /usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/ext/libv8/location.rb:35:in each'
from /usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/ext/libv8/location.rb:35:in verify_installation!' from /usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/ext/libv8/location.rb:26:in install!'
from extconf.rb:7:in `
'
GYP_GENERATORS=make
build/gyp/gyp --generator-output="out" build/all.gyp
-Ibuild/standalone.gypi --depth=.
-Dv8_target_arch=ia32
-S.ia32 -Dv8_can_use_vfp_instructions=false -Dv8_use_arm_eabi_hardfloat=true
make[1]: Entering directory '/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out'
CXX(target) /usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out/ia32.release/obj.target/preparser_lib/src/allocation.o
tools/gyp/preparser_lib.target.ia32.mk:103: recipe for target
'/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out/ia32.release/obj.target/preparser_lib/src/allocation.o' failed
make[1]: Leaving directory '/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out'
Makefile:159: recipe for target 'ia32.release' failed
extconf failed, exit code 1
Gem files will remain installed in /usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.3.3/extensions/armv6l-linux/2.3.0/libv8-3.11.8.17/gem_make.out
An error occurred while installing libv8 (3.11.8.17), and Bundler cannot continue.
Make sure that gem install libv8 -v '3.11.8.17' succeeds before bundling.
An installation of BEEF fails because libv8 will not build.
Any help would be appreciated ... here's what happened:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-2.3.3/bin/ruby -r ./siteconf20170312-4163-152n5h4.rb extconf.rb
'creating Makefile
Compiling v8 for ia32
Using python 2.7.3
Using compiler: /usr/bin/g++
In file included from ../src/allocation.h:31:0,
from ../src/allocation.cc:28:
../src/globals.h:113:2: error: #error Target architecture ia32 is only supported on ia32 host
make[1]: *** [/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out/ia32.release/obj.target/preparser_lib/src/allocation.o] Error 1
make: *** [ia32.release] Error 2
/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/ext/libv8/location.rb:36:in
block in verify_installation!': libv8 did not install properly, expected binary v8 archive '/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a'to exist, but it was not found (Libv8::Location::Vendor::ArchiveNotFound) from /usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/ext/libv8/location.rb:35:ineach'from /usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/ext/libv8/location.rb:35:in
verify_installation!' from /usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/ext/libv8/location.rb:26:ininstall!'from extconf.rb:7:in `
GYP_GENERATORS=make
build/gyp/gyp --generator-output="out" build/all.gyp
-Ibuild/standalone.gypi --depth=.
-Dv8_target_arch=ia32
-S.ia32 -Dv8_can_use_vfp_instructions=false -Dv8_use_arm_eabi_hardfloat=true
make[1]: Entering directory '/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out'
CXX(target) /usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out/ia32.release/obj.target/preparser_lib/src/allocation.o
tools/gyp/preparser_lib.target.ia32.mk:103: recipe for target
'/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out/ia32.release/obj.target/preparser_lib/src/allocation.o' failed
make[1]: Leaving directory '/usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17/vendor/v8/out'
Makefile:159: recipe for target 'ia32.release' failed
extconf failed, exit code 1
Gem files will remain installed in /usr/local/rvm/gems/ruby-2.3.3/gems/libv8-3.11.8.17 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.3.3/extensions/armv6l-linux/2.3.0/libv8-3.11.8.17/gem_make.out
An error occurred while installing libv8 (3.11.8.17), and Bundler cannot continue.
Make sure that
gem install libv8 -v '3.11.8.17'succeeds before bundling.