2012-12-09 37 views
1

我在Linux Mint的14伴侶運行此命令的錯誤:RVM PKG安裝ree_dependencies提供有關autoreconf

rvm pkg install ree_dependencies --verify-downloads 1 

,我得到這個錯誤:

Fetching ncurses-5.7.tar.gz to /home/john/.rvm/archives 
Extracting ncurses to /home/john/.rvm/src/ncurses-5.7 
Prepare ncurses in /home/john/.rvm/src/ncurses-5.7. 
Error running 'autoreconf -is --force', please read /home/john/.rvm/log/ncurses/autoreconf.log 
Configuring ncurses in /home/john/.rvm/src/ncurses-5.7. 
Error running './configure --prefix=/home/john/.rvm/usr --with-shared --disable-rpath --without-debug --without-ada --enable-safe-sprintf --enable-sigwinch --without-progs', please read /home/john/.rvm/log/ncurses/configure.log 
Compiling ncurses in /home/john/.rvm/src/ncurses-5.7. 
Error running 'make', please read /home/john/.rvm/log/ncurses/make.log 

,這裏是日誌文件:

configure:5967: error: possibly undefined macro: AC_DIVERT_HELP 
    If this token and others are legitimate, please use m4_pattern_allow. 
    See the Autoconf documentation. 
autoreconf: /usr/bin/autoconf failed with exit status: 1 

我搜索瞭解決方案,但沒有得到任何東西。 非常感謝您的幫助。

回答

2

而不是ree_dependencies你應該閱讀rvm requirements的輸出 - 它會告訴你需要安裝什麼。建議 - REE基於Ruby 1.8,不再維護,只有安全修復會發布幾個月,你真的應該嘗試一個新的Ruby 1.9.3,或者如果它是新的項目 - 嘗試紅寶石2.0.0 preview2:

rvm install ruby-2.0.0