Homebrew не может найти gcc

У меня возникли проблемы с тем, чтобы доморощенное пиво работало на Lion. По какой-то причине он ловит clang, а не gcc.

==> Upgrading gnutls
...
checking for gcc...
/usr/bin/clang checking whether the C compiler works... no

'brew doctor' говорит:

We couldn't detect gcc 4.2.x. Some formulae require this compiler. NOTE: Versions of XCode newer than 4.2 don't include gcc 4.2.x.

ПРИМЕЧАНИЕ :Я уже установил инструменты командной строки из XCode, включая gcc.

$ which gcc
/usr/bin/gcc
$ gcc -v
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)

Как заставить brew использовать gcc?

6
задан Nick Hawes 8 September 2012 в 06:33
поделиться