运行autoconf时rvm install 1.9.2失败? [英] rvm install 1.9.2 fails when running autoconf?

查看:121
本文介绍了运行autoconf时rvm install 1.9.2失败?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行时

  rvm install 1.9.2 

我试图运行autoconf时出现错误。这是堆栈跟踪:

  kenmare:ruby-1.9.2-p0 lee $ rvm install 1.9.2-p0 
/Users/lee/.rvm/rubies/ruby-1.9.2-p0,这可能需要一段时间取决于你的cpu(s)...

ruby​​-1.9.2-p0 - #fetching
ruby​​-1.9.2-p0 - #提取到/Users/lee/.rvm/src/ruby-1.9.2-p0(已解压缩)
运行autoconf
运行错误'autoconf',请检查/Users/lee/.rvm/log/ruby-1.9.2-p0/autoconf.error.log
跳过配置步骤,'configure'不存在,autoconf是否无法成功运行?
ruby​​-1.9.2-p0 - #compiling
运行'make'时出错,请检查/Users/lee/.rvm/log/ruby-1.9.2-p0/make.error.log
运行make时出错。停止安装。

有什么想法?谢谢!



更新:对不起,它迟到了,并没有给出一些明显的信息。我在运行10.6.4的Mac上。 autoconf日志说:

  autoconf:没有输入文件

对于关于make的回答,当我运行

 时,它使
/ usr / bin / make

我已经用rvm成功运行1.8.7。我在安装1.9.2时只收到这个问题。
再次感谢!

解决方案

我明白了。关键是这一行:

  ruby​​-1.9.2-p0  -  #extracted to /Users/lee/.rvm/src /ruby-1.9.2-p0(已解压)

显然,如果您的第一次出现错误尝试1.9.2包的目录未被删除。 (在我的情况下,autoconf文件没有正确下载。)任何后续尝试都会看到该目录,并且不会再尝试下载该软件包。

您需要删除ruby-1.9.2-p0目录。我认为这可能是任何版本的问题。



希望这可以帮助别人。

when I run

rvm install 1.9.2

I get an error trying to run autoconf. This is the stacktrace:

kenmare:ruby-1.9.2-p0 lee$ rvm install 1.9.2-p0
/Users/lee/.rvm/rubies/ruby-1.9.2-p0, this may take a while depending on your cpu(s)...

ruby-1.9.2-p0 - #fetching 
ruby-1.9.2-p0 - #extracted to /Users/lee/.rvm/src/ruby-1.9.2-p0 (already extracted)
Running autoconf
Error running 'autoconf', please check /Users/lee/.rvm/log/ruby-1.9.2-p0/autoconf.error.log
Skipping configure step, 'configure' does not exist, did autoconf not run successfully?
ruby-1.9.2-p0 - #compiling 
Error running 'make ', please check /Users/lee/.rvm/log/ruby-1.9.2-p0/make.error.log
There has been an error while running make. Halting the installation.

Any ideas? Thanks!

UPDATE: Sorry it was late and didn't give some obvious info. I am on a mac running 10.6.4. The autoconf log says:

autoconf: no input file

To the answer regarding make, when I run

which make
/usr/bin/make

And I have am running 1.8.7 successfully with rvm. I only receive this problem when installing 1.9.2. Thanks again!

解决方案

I figured it out. The key is this line:

ruby-1.9.2-p0 - #extracted to /Users/lee/.rvm/src/ruby-1.9.2-p0 (already extracted)

Apparently if there is an error during your first attempt the directory for the 1.9.2 package is not removed. (In my case, the autoconf files were not properly downloaded.) Any subsequent attempts see the directory and does not attempt to download the package again.

You need to remove the ruby-1.9.2-p0 directory. I assume this could be a problem with any version.

Hope this helps someone else.

这篇关于运行autoconf时rvm install 1.9.2失败?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆