Advertisement
Guest User

therubyracer install error

a guest
Aug 20th, 2017
440
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.49 KB | None | 0 0
  1. root@kali-arm64:~# gem install therubyracer
  2. Building native extensions.  This could take a while...
  3. ERROR:  Error installing therubyracer:
  4.         ERROR: Failed to build gem native extension.
  5.  
  6.     current directory: /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8
  7. /usr/bin/ruby2.3 -r ./siteconf20170820-1142-19vl1rf.rb extconf.rb
  8. creating Makefile
  9. Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/disable-building-tests.patch
  10. Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/disable-werror-on-osx.patch
  11. Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/disable-xcode-debugging.patch
  12. Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/do-not-imply-vfp3-and-armv7.patch
  13. Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/do-not-use-MAP_NORESERVE-on-freebsd.patch
  14. Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/do-not-use-vfp2.patch
  15. Applying /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/patches/fPIC-for-static.patch
  16. Compiling v8 for x64
  17. Using python 2.7.13
  18. Using compiler: c++ (GCC version 6.4.0)
  19. Beginning compilation. This will take some time.
  20. Building v8 with env CXX=c++ LINK=c++  /usr/bin/make x64.release ARFLAGS.target=crs werror=no
  21. GYP_GENERATORS=make \
  22. build/gyp/gyp --generator-output="out" build/all.gyp \
  23.               -Ibuild/standalone.gypi --depth=. \
  24.               -Dv8_target_arch=x64 \
  25.               -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=''
  26. make[1]: Entering directory '/var/lib/gems/2.3.0/gems/libv8-3.16.14.19/vendor/v8/out'
  27.   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
  28. In file included from ../src/allocation.h:31:0,
  29.                  from ../src/allocation.cc:28:
  30. ../src/globals.h:90:2: error: #error Host architecture was not detected as supported by v8
  31.  #error Host architecture was not detected as supported by v8
  32.   ^~~~~
  33. ../src/globals.h:116:2: error: #error Target architecture x64 is only supported on x64 host
  34.  #error Target architecture x64 is only supported on x64 host
  35.   ^~~~~
  36. 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
  37. 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
  38. make[1]: Leaving directory '/var/lib/gems/2.3.0/gems/libv8-3.16.14.19/vendor/v8/out'
  39. Makefile:195: recipe for target 'x64.release' failed
  40. make: *** [x64.release] Error 2
  41. /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)
  42.        from /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:35:in `each'
  43.         from /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:35:in `verify_installation!'
  44.        from /var/lib/gems/2.3.0/gems/libv8-3.16.14.19/ext/libv8/location.rb:26:in `install!'
  45.         from extconf.rb:7:in `<main>'
  46.  
  47. extconf failed, exit code 1
  48.  
  49. Gem files will remain installed in /var/lib/gems/2.3.0/gems/libv8-3.16.14.19 for inspection.
  50. 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