[英]Error running 'autoconf' when installing Ruby 1.9.3 using RVM
I'm using a Mac OS X 10.7.4 and currently using Ruby 1.9.2. 我正在使用Mac OS X 10.7.4,当前正在使用Ruby 1.9.2。 I'm trying to install Ruby 1.9.3 using RVM but get the following error when executing rvm install 1.9.3
: 我正在尝试使用RVM安装Ruby 1.9.3,但是在执行rvm install 1.9.3
时出现以下错误:
Running autoconf
Error running 'autoconf', please read .../.rvm/log/ruby- 1.9.3/autoconf.log
Skipping configure step, 'configure' does not exist, did autoconf not run successfully?
ruby-1.9.3 - #compiling
Error running 'make ', please read .../.rvm/log/ruby-1.9.3/make.log
There has been an error while running make. Halting the installation.
I found nothing useful in both autoconf.log
and make.log
. 我发现autoconf.log
和make.log
都没有用。
I looked at similar questions but wasn't able to fix this problem. 我看过类似的问题,但无法解决此问题。 I also tried removing the ruby-1.9.2-p0 directory
as recommended in this question . 我还尝试按照此问题中的建议删除ruby-1.9.2-p0 directory
。
I could really use some help here (as well as a possible explanation for why this is happening). 我真的可以在这里使用一些帮助(以及为什么发生这种情况的可能解释)。
Thank you. 谢谢。
looks like ruby version was not detected properly, make sure you use up to date RVM: 似乎未正确检测到Ruby版本,请确保使用最新的RVM:
curl -L https://get.rvm.io | bash
rvm reload
also specifying full version might help: 同时指定完整版本可能会有所帮助:
rvm install ruby-1.9.3-p194
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.