2013-11-15 162 views
0

我使用命令curl -L get.rvm.io | bash -s stable安裝了RVM,並且我成功地獲得了所有列出的Rubies。當我試圖使用命令來安裝readlinervm package install readline我得到以下狀態: TEST:軟件sailakshmi $○一二三一○三八三五二○七四二二八○○○三二一○關於在Mac OS X上安裝RVM 10.9

Beware, 'rvm pkg ...' is deprecated, read about the new autolibs feature: 'rvm help autolibs'. 

Checking requirements for osx. 
Installing macports 
.............................................................................................................................................................................................................................................................................................................................. 
sailakshmi password required for 'make install': 
............................................................................................................................................................................................................................................. 
Installing requirements for osx. 
Updating system................................................... 
Installing required packages: autoconf, automake, libtool, pkgconfig, libiconv, libyaml, libffi, readline, libksba, openssl, curl-ca-bundle, sqlite3, zlib, gdbm, ncurses 
.............................................................................................................................................................................................................................................................................................................................................................................................................. 
Certificates in '/opt/local/etc/openssl/cert.pem' already are up to date. 
Requirements installation successful. 
Fetching readline-5.2.tar.gz to /Users/sailakshmi/.rvm/archives 
    % Total % Received % Xferd Average Speed Time Time  Time Current 
           Dload Upload Total Spent Left Speed 
100 1989k 100 1989k 0  0 107k  0 0:00:18 0:00:18 --:--:-- 119k 
Extracting readline to /Users/sailakshmi/.rvm/src/readline-5.2 
Applying patch '/Users/sailakshmi/.rvm/patches/readline-5.2/shobj-conf.patch'.... 
Prepare readline in /Users/sailakshmi/.rvm/src/readline-5.2 ............................. 
Error running '__rvm_autoreconf -is --force', 
please read /Users/sailakshmi/.rvm/log/1384489495/readline_autoreconf.log 
Configuring readline in /Users/sailakshmi/.rvm/src/readline-5.2 
....................................................................................................................................................................... 
Compiling readline in /Users/sailakshmi/.rvm/src/readline-5.2 
........................................................................................................................................................................................................................................... 
Installing readline to /Users/sailakshmi/.rvm/usr ............................................................................. 

Please note that it's required to reinstall all rubies: 

    rvm reinstall all --force 

Fetching readline-6.2.tar.gz to /Users/sailakshmi/.rvm/archives 
    % Total % Received % Xferd Average Speed Time Time  Time Current 
           Dload Upload Total Spent Left Speed 
100 2224k 100 2224k 0  0 188k  0 0:00:11 0:00:11 --:--:-- 334k 
Extracting readline to /Users/sailakshmi/.rvm/src/readline-6.2 
Applying patch '/Users/sailakshmi/.rvm/patches/readline-6.2/patch-shobj-conf.diff'.... 
Prepare readline in /Users/sailakshmi/.rvm/src/readline-6.2 
............................... 
Error running '__rvm_autoreconf -is --force', 
please read /Users/sailakshmi/.rvm/log/1384489495/readline_autoreconf.log 
Configuring readline in /Users/sailakshmi/.rvm/src/readline-6.2 
................................................................................................................................ 
Compiling readline in /Users/sailakshmi/.rvm/src/readline-6.2 
...................................................................................................................................................................................................................................................................... 
Installing readline to /Users/sailakshmi/.rvm/usr .................................................................. 

Please note that it's required to reinstall all rubies: 

    rvm reinstall all --force 

請幫我在這裏Error running '__rvm_autoreconf -is --force'

回答

0
  1. 你不需要要安裝rvm readline軟件包,新的rvm會檢測你的軟件包管理器,並在安裝ruby之前爲你安裝readline,這樣ruby應該可以正常工作並且讀取 - 如果它不打開這裏的錯誤報告=>https://github.com/wayneeseguin/rvm/issues

  2. 如果你想追求readline編譯的問題,請打開一個包括/Users/sailakshmi/.rvm/log/1384489495/readline_autoreconf.log/Users/sailakshmi/.rvm/log/1384489495/readline_autoreconf.log的錯誤 - 但這些並沒有破壞任何安裝,沒有任何其他問題。