亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

請問不能用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 關注
  • 579 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號