1

我在 Linux Mint 14 Mate 上运行这个命令:

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

我搜索了解决方案,但一无所获。非常感谢您的帮助。

4

1 回答 1

2

而不是ree_dependencies你应该阅读的输出rvm requirements- 它会告诉你需要安装什么。

忠告 - REE 基于不再维护的 Ruby 1.8,几个月内只会发布安全修复程序,你真的应该尝试像 1.9.3 这样更新的 ruby​​,或者如果它是新项目 - 试试 ruby​​ 2.0.0预览2:

rvm install ruby-2.0.0
于 2012-12-09T14:25:26.703 回答