不能用RVM-GCC问题在Lion下安装Ruby
rvm install 1.9.3Installing Ruby from source to: /Users/jamie/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)...ruby-1.9.3-p0 - #fetching ruby-1.9.3-p0 - #extracted to /Users/jamie/.rvm/src/ruby-1.9.3-p0 (already extracted)Fetching yaml-0.1.4.tar.gz to /Users/jamie/.rvm/archivesExtracting yaml-0.1.4.tar.gz to /Users/jamie/.rvm/srcConfiguring yaml in /Users/jamie/.rvm/src/yaml-0.1.4.Compiling yaml in /Users/jamie/.rvm/src/yaml-0.1.4.Installing yaml to /Users/jamie/.rvm/usr ruby-1.9.3-p0 - #configuring ERROR: Error running ' ./configure --prefix=/Users/jamie/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --disable-install-doc --with-libyaml-dir=/Users/jamie/.rvm/usr ', please read /Users/jamie/.rvm/log/ruby-1.9.3-p0/configure.log ERROR: There has been an error while running configure. Halting the installation.
[2011-11-07 04:32:17] ./configure --prefix=/Users/jamie/.rvm/rubies/ruby-1.9.3-p0 --enable-shared --disable-install-doc --with-libyaml-dir=/Users/jamie/.rvm/usr configure: WARNING: unrecognized options: --with-libyaml-dir checking build system type... x86_64-apple-darwin11.2.0checking host system type... x86_64-apple-darwin11.2.0checking target system type... x86_64-apple-darwin11.2.0checking whether the C compiler works... noconfigure: error: in `/Users/jamie/.rvm/src/ruby-1.9.3-p0': configure: error: C compiler cannot create executables See `config.log' for more details
相关分类