當我下面這個教程在Mac上設置扶手:錯誤運行「讓-j2」安裝RVM
http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/
當我到步驟6:用Ruby 1.9.3安裝RVM ,並運行curl -L https://get.rvm.io | bash -s stable --ruby
安裝RVM,我得到以下錯誤:
Error running 'make -j2', please read ~/.rvm/log/ruby-1.9.3-p385/make.log
There has been an error while running make. Halting the installation.
在make.log裏,這裏是它生成了什麼:
regparse.c:582:15: error: implicit conversion loses integer precision: 'st_index_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32]
return t->num_entries;
~~~~~~ ~~~^~~~~~~~~~~
1 error generated.
make: *** [regparse.o] Error 1
make: *** Waiting for unfinished jobs....
我發現這一塊,因爲我之前在類似的設置中遵循了本指南,並沒有遇到任何問題。
任何想法?
可能重複[無法編譯紅寶石1.9.3(http://stackoverflow.com/questions/14592945/can not-compile-ruby-1-9-3) – mpapis 2013-02-12 15:00:19