2017-04-24 3 views
0

「__rvm_make -j4」エラーを取得デフォルトのバージョン2.4.0p0がインストールされていますが、GEMファイルとのマッチングには2.2.2が必要です。私はRubyの2.2.2をインストールしようとすると、私は次のエラーを取得し、私もこのマシンとフルカーリー・マシン上で試してみました:カーリーLinuxのローリング:私はLinuxシステムにかなり新たなんだとカーリーのライトを実行しているが、私はHashviewをインストールしようとしていますし、指示に従って、私はRVMをdonwloadedているRubyの2.2.2をインストールしようとしているが、

[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. 
+0

あなたは完全な 'ログを投稿することができますしてみてください'...あなたがそれを読むことができます'以下は/ usr/local/RVM /ログ/ 1493066920_ruby-2.2.2/make.log' – Hackerman

+0

どのようにRVMをインストールしたのですか? 'rvm get head'を実行して、それが現在のバージョンであることを確認しましたか? 'rvm info'は何を出力しますか? (出力をコピーして質問に貼り付け、読みやすいように書式設定してください)。 –

答えて

0

この

rvm get head 
rvm reload 
rvm cleanup archives 
関連する問題

 関連する問題