为了账号安全,请及时绑定邮箱和手机立即绑定

请问不能用RVM-GCC问题在Lion下安装Ruby

请问不能用RVM-GCC问题在Lion下安装Ruby

慕仙森 2019-08-02 07:02:12
不能用RVM-GCC问题在Lion下安装Ruby有关这个问题的大多数问题都是由于缺少Xcode造成的;我已经安装了Xcode 4.2。安装尝试: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.配置.log:[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
查看完整描述

3 回答

  • 3 回答
  • 0 关注
  • 495 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信