【发布时间】:2012-01-31 06:14:11
【问题描述】:
我正在尝试使用 Ruby 1.9.3-p0 和运行时设置 RVM
$rvm install 1.9.3
我明白了:
错误:运行错误 ' ./configure --prefix=/Users/zkidd/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --disable-install-doc --with-libyaml- dir=/Users/zkidd/.rvm/usr ',请阅读/Users/zkidd/.rvm/log/ruby-1.9.3-p0/configure.log 错误:运行配置时出现错误。停止安装。
然后当我在 textmate 中打开 configure.log 时,我看到:
[2011-12-31 16:43:59] ./configure --prefix=/Users/zkidd/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --disable-install- doc --with-libyaml-dir=/Users/zkidd/.rvm/usr 配置:警告:无法识别的选项:--with-libyaml-dir 检查构建系统类型... x86_64-apple-darwin11.2.0 检查主机系统类型... x86_64-apple-darwin11.2.0 检查目标系统类型... x86_64-apple-darwin11.2.0 检查 C 编译器是否工作...否 配置:错误:在
/Users/zkidd/.rvm/src/ruby-1.9.3-p0': configure: error: C compiler cannot create executables Seeconfig.log' 了解更多详情
我不确定接下来要做什么:/ 我已经重新安装了 XCODE,并且 Mac OS 是最新的。另外,我也刚刚安装了 RVM,效果很好。任何指导将不胜感激。谢谢。
【问题讨论】:
标签: ruby compiler-construction rvm