错误:无法找到GCC
我试图让我的OSX 10.5.8上的自制程序工作,并解决了所有brew医生的问题后,我试图使用brew安装git:
Mac-mini:~ Dagmara$ brew install git
Error: GCC could not be found
/usr/local/Library/Homebrew/extend/ENV.rb:142:in `gcc'
/usr/local/Library/Homebrew/extend/ENV.rb:35:in `send'
/usr/local/Library/Homebrew/extend/ENV.rb:35:in `setup_build_environment'
/usr/local/Library/Homebrew/build.rb:23
/usr/local/Library/Formula/git.rb:86
Error: Suspicious installation failure
这是一个痛苦的屁股,因为如果我运行我得到的gcc:
/usr/bin/gcc
同时在/ usr / bin中查看,我看到2个gcc安装:
gcc gcc-4.0
导出$ PATH:
Mac-mini:~ Dagmara$ export $PATH
-bash: export:`/usr/local/mysql/bin:/usr/local/git/bin/git:/usr/bin/gcc:/usr/local/mysql/bin:/usr/local/git/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin': not a valid identifier
不知道这个有效的标识符问题到底是怎么回事。 所以我需要帮助修复我的GCC问题:)先谢谢了,亚历克斯
链接地址: http://www.djcxy.com/p/63345.html