mxcl/homebrew — Issue #8247: Installing MacVim on newly installed OS X Lion; says gcc (4.2.1) is too old
Author: ChrisBuchholz
Created: 2011-10-23 17:39:07+00:00
State: open

xcode 4.2
gcc 4.2.1
mac os x 10.7.2

Hey,

I have just made a clean install of OS X 10.7.2, and then installed XCode (4.2) and homebrew as usual. But when I try to install MacVim with homebrew, I get an "Error: Failed executing make". When I run `brew doctor`, I get this:

/usr/bin/gcc
Your gcc 4.2.x version is older than the recommended version. It may be advisable
to upgrade to the latest release of Xcode.

If I run `gcc -v`, it says I have gcc 4.2.1 installed.

Do I need to do something OS X Lion specific that I didn't have to do in Snow Leopard? How am I going to make this work properly?