Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@kali-arm64:~# gem install therubyracer
- Building native extensions. This could take a while...
- ERROR: Error installing therubyracer:
- ERROR: Failed to build gem native extension.
- current directory: /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8
- /usr/bin/ruby2.3 -r ./siteconf20170820-1142-19vl1rf.rb extconf.rb
- creating Makefile
- Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/disable-building-tests.patch
- Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/disable-werror-on-osx.patch
- Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/disable-xcode-debugging.patch
- Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/do-not-imply-vfp3-and-armv7.patch
- Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/do-not-use-MAP_NORESERVE-on-freebsd.patch
- Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/do-not-use-vfp2.patch
- Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/fPIC-for-static.patch
- Compiling v8 for x64
- Using python 2.7.13
- Using compiler: c++ (GCC version 6.4.0)
- Beginning compilation. This will take some time.
- Building v8 with env CXX=c++ LINK=c++ /usr/bin/make x64.release ARFLAGS.target=crs werror=no
- 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=''
- make[1]: Entering directory '/var/lib/gems/2.3.0/gems/libv8-3.16.14.19/vendor/v8/out'
- CXX(target) /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/vendor/v8/out/x64.release/obj.target/preparser_lib/src/allocation.o
- In file included from ../src/allocation.h:31:0,
- from ../src/allocation.cc:28:
- ../src/globals.h:90:2: error: #error Host architecture was not detected as supported by v8
- #error Host architecture was not detected as supported by v8
- ^~~~~
- ../src/globals.h:116:2: error: #error Target architecture x64 is only supported on x64 host
- #error Target architecture x64 is only supported on x64 host
- ^~~~~
- tools/gyp/preparser_lib.target.x64.mk:108: recipe for target '/var/lib/gems/2.3.0/gems/libv8-3.16.14.19/vendor/v8/out/x64.release/obj.target/preparser_lib/src/allocation.o' failed
- make[1]: *** [/var/lib/gems/2.3.0/gems/libv8-3.16.14.19/vendor/v8/out/x64.release/obj.target/preparser_lib/src/allocation.o] Error 1
- make[1]: Leaving directory '/var/lib/gems/2.3.0/gems/libv8-3.16.14.19/vendor/v8/out'
- Makefile:195: recipe for target 'x64.release' failed
- make: *** [x64.release] Error 2
- /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:36:in `block in verify_installation!': libv8 did not install properly, expected binary v8 archive '/var/lib/gems/2.3.0/gems/libv8-3.16.14.19/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/lib/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:35:in `each'
- from /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:35:in `verify_installation!'
- from /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:26:in `install!'
- from extconf.rb:7:in `<main>'
- extconf failed, exit code 1
- Gem files will remain installed in /var/lib/gems/2.3.0/gems/libv8-3.16.14.19 for inspection.
- Results logged to /var/lib/gems/2.3.0/extensions/aarch64-linux/2.3.0/libv8-3.16.14.19/gem_make.out
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement