Mountain Lion install rvm ree-1.8.7

一笑奈何 提交于 2019-12-12 05:48:57

问题


I tried following this other answer, but I get the following problems:

$ export CPPFLAGS=-I/opt/X11/include
$ CC=/usr/local/bin/gcc-4.2 rvm reinstall ree-1.8.7
/Users/username/.rvm/src/ree-1.8.7-2012.02 has already been removed.
/Users/username/.rvm/rubies/ree-1.8.7-2012.02 has already been removed.
No binary rubies available for: osx/10/x86_64/ree-1.8.7-2012.02.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
You requested building with '/usr/local/bin/gcc-4.2' but it is not in your path.

Is there something else I am doing wrong? I am using the October release of Command Line Tools from Apple, if that helps...


回答1:


Ok, after some discussion on the other answer I got it to work like this...

First, install brew then do this:

brew tap homebrew/dupes
brew install apple-gcc42

Then the rest of the solution will work:

export CPPFLAGS=-I/opt/X11/include
CC=/usr/local/bin/gcc-4.2 rvm reinstall ree-1.8.7


来源:https://stackoverflow.com/questions/12923628/mountain-lion-install-rvm-ree-1-8-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!