我在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
我用Google搜索解决方案但没有得到任何结果。 非常感谢您的帮助。
答案 0 :(得分:2)
而不是ree_dependencies
您应该阅读rvm requirements
的输出 - 它会显示需要安装的内容。
建议 - REE基于Ruby 1.8,不再维护,只有安全修复程序会发布几个月,你真的应该尝试更新的ruby,如1.9.3,或者如果它是新项目 - 试试ruby 2.0.0 preview2:
rvm install ruby-2.0.0