Error: GCC could not be found
I'm trying to get homebrew working on my osx 10.5.8 and after resolving all brew doctor's issues I'm trying to install git using brew:
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
This is a pain in the ass because if I run which gcc i get:
/usr/bin/gcc
and while looking in /usr/bin I see 2 gcc installs:
gcc gcc-4.0
export $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
Not sure what's up with that valid idetifier issue though. SO I need help fixing my GCC issue :) Thanks in advance, Alex
链接地址: http://www.djcxy.com/p/63346.html下一篇: 错误:无法找到GCC