0
我很新的Linux系統和運行Kali Lite,但我試圖安裝Hashview,並按照說明,我已經donwloaded RVM並且安裝了缺省版本2.4.0p0,但我需要2.2.2才能與GEM文件匹配。當我嘗試安裝Ruby 2.2.2我碰到下面的錯誤,我已經試過這臺機器和全卡利機上還有:Kali Linux Rolling:試圖安裝Ruby 2.2.2,但得到「__rvm_make -j4」錯誤
[email protected]:~# rvm install ruby-2.2.2
Searching for binary rubies, this might take some time.
No binary rubies available for: debian/Kali_Linux_Rolling/x86_64/ruby-2.2.2.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for debian.
Installing requirements for debian.
Updating system.
Installing required packages: libreadline6-dev..
Requirements installation successful.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.2.2, this may take a while depending on your cpu(s)...
ruby-2.2.2 - #downloading ruby-2.2.2, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12.6M 100 12.6M 0 0 138k 0 0:01:33 0:01:33 --:--:-- 1314k
ruby-2.2.2 - #extracting ruby-2.2.2 to /usr/local/rvm/src/ruby-2.2.2....
ruby-2.2.2 - #applying patch /usr/local/rvm/patches/ruby/2.2.2/fix_installing_bundled_gems.patch.
ruby-2.2.2 - #applying patch /usr/local/rvm/patches/ruby/2.2.2/openssl3.patch.
ruby-2.2.2 - #configuring......................................................|
ruby-2.2.2 - #post-configuration..
ruby-2.2.2 - #compiling........................................................-
Error running '__rvm_make -j4',
showing last 15 lines of /usr/local/rvm/log/1493066920_ruby-2.2.2/make.log
make[1]: *** [ext/openssl/all] Error 2
make[1]: *** Waiting for unfinished jobs....
installing default pathname libraries
compiling objspace_dump.c
installing default nkf libraries
linking shared-object objspace.so
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.2.2/ext/objspace'
linking shared-object pathname.so
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.2.2/ext/pathname'
linking shared-object nkf.so
make[2]: Leaving directory '/usr/local/rvm/src/ruby-2.2.2/ext/nkf'
make[1]: Leaving directory '/usr/local/rvm/src/ruby-2.2.2'
uncommon.mk:189: recipe for target 'build-ext' failed
make: *** [build-ext] Error 2
++ return 2
There has been an error while running make. Halting the installation.
你能後的全'日誌'...您可以使用'less/usr/local/rvm/log/1493066920_ruby-2.2.2/make.log'來讀取它 – Hackerman
您是如何安裝RVM的?你運行'rvm get head'來確保它是當前版本嗎?什麼'rvm info'輸出? (將輸出複製並粘貼到您的問題中,格式化以提高可讀性。) –