我正在尝试更新我系统上的ruby和rails (osx 10.8.2)rvm install 1.9.3 --with-gcc=gcc-4.2You requestedbuilding with 'gcc-4.2' but it is not in your path.
2个问题:如何使用gcc-4.2安装(我已经在xcode中安装了命令行工具)?
f3d5f20“setenv LANG en_us.us-ascisetenv PATH /Developer/Platforms/iPhoneSimulator.platform/开发人员/usr/bin/gcc686-apple-darwin10-gcc-4.2.1:没有输入文件命令/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
You requested building with '/usr/bin/gcc-4.2' but it is not in your path.参考错误的最后一行,我如何在我的路径中获得'usr/bin/gcc-4.2‘?
我尝试将以下PATH="/usr/bin:$PATH"添加到我的.bash_profile中,但没有成功。
在Python中使用pip安装包时,我遇到了以下错误:显然,pip正在尝试使用不在任何二进制目录(即/usr/bin )中的gcc-4.2。然而,在OS X Lion中,gcc被更新到4.2版本,这不是版本问题,相反,在/usr/bin下,gcc只是被称为gcc,而不是gcc-4.2,并且是符号链接到llvm-gcc。在/usr/bin中添加了gcc-4.2