gpt4 book ai didi

ruby - Kali Linux Rolling : Trying to install Ruby 2.2.2 but getting “__rvm_make -j4” error

转载 作者:行者123 更新时间:2023-12-02 11:15:21 24 4
gpt4 key购买 nike

我对Linux系统还很陌生,并且正在运行Kali lite,但是我正在尝试安装Hashview,并且按照说明,我已下载RVM并安装了默认版本2.4.0p0,但我需要2.2.2与GEM文件匹配。当我尝试安装Ruby 2.2.2时,出现以下错误,并且在此机器和完整的Kali机器上进行了尝试:

root@kali:~# 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.

最佳答案

尝试这个

rvm get head
rvm reload
rvm cleanup archives

关于ruby - Kali Linux Rolling : Trying to install Ruby 2.2.2 but getting “__rvm_make -j4” error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43597934/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com