我使用命令curl -L get.rvm.io | bash -s stable
安装了RVM,并且我已成功列出所有列出的Rubies。当我尝试使用命令readline
安装rvm package install readline
包时,我将获得以下状态:
测试:软件sailakshmi $ 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'
答案 0 :(得分:0)
您不需要安装rvm readline软件包,新的rvm会在安装ruby之前检测到您的软件包管理器并为您安装readline,因此ruby应该可以正常处理 - 如果它没有在这里打开错误报告= > https://github.com/wayneeseguin/rvm/issues
如果您想通过readline编译来解决问题,请同时打开包含/Users/sailakshmi/.rvm/log/1384489495/readline_autoreconf.log
和/Users/sailakshmi/.rvm/log/1384489495/readline_autoreconf.log
的错误 - 但这些错误并没有破坏任何安装继续而没有任何其他问题。