在配置中使用RVM安装Ruby 2.0.0时出错

我目前正在Ruby 1.9.3p134上运行,并尝试使用RVM安装Ruby 2.0.0,但是我仍然遇到以下错误。 我在OSX 10.7.5上运行:

错误运行'env LDFLAGS = -L / opt / sm / pkg / active / lib CFLAGS = -I / opt / sm / pkg / active / include CPATH = / opt / sm / pkg / active / include ./configure --prefix = / usr / local / rvm / rubies / ruby​​-2.0.0-p195 --with-opt-dir = / opt / sm / pkg / active --disable -install-doc --without-tcl --without-tk --enable-shared'请阅读/usr/local/rvm/log/ruby-2.0.0-p195/1369791751_configure.log运行configure时出错。 停止安装。

配置日志如下:

[2013-05-29 11:42:31] ./configure configure:警告:无法识别的选项:--without-tcl,--without-tk检查构建系统类型... x86_64-apple-darwin11.4.2检查主机系统键入... x86_64-apple-darwin11.4.2检查目标系统类型... x86_64-apple-darwin11.4.2检查C编译器是否工作... no configure:error:在/usr/local/rvm/src/ruby-2.0.0-p195': configure: error: C compiler cannot create executables See config.log'以获取更多详细信息

只是无法解决这个问题,我需要帮助。


您需要更新RVM,它会解决问题或告诉您如何执行,请运行以下命令并读取所有输出:

rvm get stable
链接地址: http://www.djcxy.com/p/59207.html

上一篇: Installing Ruby 2.0.0 using RVM with errors in configure

下一篇: Error while running configure during RVM install 1.9.3