ruby-1.9.3-p0 - #configuring *ERROR: Error running ' ./configure --prefix=/Users/davedelich/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --disable-install-doc --with-libyaml-dir=/Users/davedelich/.rvm/usr ',please read /Users/davedelich/.rvm/log/ruby-1.9.3-p0/configure.log ERROR: There has been an error while running configure. Halting the installation.* SupremeOverlord:~ davedelich$cat /Users/davedelich/.rvm/log/ruby-1.9.3-p0/configure.log [2011-12-03 22:09:03] ./configure --prefix=/Users/davedelich/.rvm/rubies/ruby-1.9.3-p0 -- enable-shared --disable-install-doc --with-libyaml-dir=/Users/davedelich/.rvm/usr configure: WARNING: unrecognized options: --with-libyaml-dir checking build system type... x86_64-apple-darwin11.2.0 checking host system type... x86_64-apple-darwin11.2.0 checking target system type... x86_64-apple-darwin11.2.0 checking whether the C compiler works... no configure: error: in `/Users/davedelich/.rvm/src/ruby-1.9.3-p0': configure: error: C compiler cannot create executables See `config.log' for more details
解决方法
您的系统上没有安装C编译器 – 这意味着您必须在Mac上安装XCode!它包含所有开发工具,包括编译器.
检查您的OSX DVD或记忆棒的XCode,或在Apple在线检查:
http://developer.apple.com/xcode/
http://developer.apple.com/technologies/tools/
http://www.macworld.com/article/46286/2005/08/installxcode.html
原文地址:https://www.jb51.cc/ruby/267920.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。