【问题标题】:rvm pkg install ree_dependencies gives error about autoreconfrvm pkg install ree_dependencies 给出关于 autoreconf 的错误
【发布时间】:2012-12-09 12:38:48
【问题描述】:

我在 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

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

【问题讨论】:

    标签: ruby rvm linux-mint


    【解决方案1】:

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

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

    rvm install ruby-2.0.0
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-02-19
      • 1970-01-01
      • 1970-01-01
      • 2011-11-13
      • 1970-01-01
      • 2017-05-21
      相关资源
      最近更新 更多