mxcl/homebrew — Issue #9518: error installing cairo - gcc not found 
Author: deprecated
Created: 2012-01-09 23:45:45+00:00
State: open

While trying to do `brew install gnuplot` I get the error:

==> Installing gnuplot dependency: cairo
Warning: Formula will not build with LLVM, using GCC
Error: GCC could not be found

This is 10.7. More details of my system:

$ uname -a
Darwin slavoj 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

Any help gratefully appreciated,