错误:无法找到GCC - brew install git

时间:2012-07-29 15:58:05

标签: macos homebrew

我正在尝试让自制软件在我的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

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

不确定这个有效的idetifier问题是怎么回事。 所以我需要帮助解决我的GCC问题:) 提前致谢, 亚历

0 个答案:

没有答案