0

我使用该命令安装了 RVM,curl -L get.rvm.io | bash -s stable并成功获得了所有列出的红宝石。当我尝试readline使用命令安装软件包时,rvm package install readline我得到以下状态: TEST:softwaresaiakshmi$rvm pkg install readline

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'

4

1 回答 1

0
  1. 您不需要安装 rvm readline 包,新的 rvm 会检测您的包管理器并在安装 ruby​​ 之前为您安装 readline,因此 ruby​​ 应该可以正常使用 readling - 如果它没有在此处打开错误报告 => https://github .com/wayneeseguin/rvm/issues

  2. 如果您想解决 readline 编译的问题,请同时打开一个错误,包括/Users/sailakshmi/.rvm/log/1384489495/readline_autoreconf.log/Users/sailakshmi/.rvm/log/1384489495/readline_autoreconf.log- 但那些没有破坏任何东西的安装继续没有任何其他问题。

于 2013-11-16T08:41:50.300 回答