Issue installing Ruby rvm (error while running configure)

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

There is no C compiler installed on your system -- this means that you have to install XCode on your Mac!! It contains all development tools, including the compiler.

check your OSX DVD or memory stick for XCode, or check online at Apple:

http://developer.apple.com/xcode/

http://developer.apple.com/technologies/tools/

http://www.macworld.com/article/46286/2005/08/installxcode.html

http://developer.apple.com/support/xcode/

链接地址: http://www.djcxy.com/p/10156.html

上一篇: 为什么Time :: HiRes :: stat break list有下标?

下一篇: 安装Ruby rvm时出现问题(运行configure时出错)