mxcl/homebrew — Issue #10647: Impossible to install postgres on Lion
Author: EtienneDepaulis
Created: 2012-03-02 17:05:29+00:00
State: open

Hey,

I updated to Lion a few hours ago and tried to do *brew install postgres* but I still get the same errors (as a result I can't *gem install pg*)

Here is the *brew doctor* results :

**Warning**: You have no /usr/bin/cc.
This means you probably can't build *anything*. You need to install the CLI
Tools for Xcode. You can either download this from http://connect.apple.com/
or install them from inside Xcode’s preferences. Homebrew does not require
all of Xcode! You only need the CLI tools package!

**Warning**: You have Xcode-4.0, which is outdated.
Please install Xcode 4.3.

=> I have installed Xcode 4.3 from the App Store but Xcode 3.2.6 is still installed as well. What did I do wrong here ?

Here is the gist from the *brew install -v postgres* :
https://gist.github.com/1959587

A huge tanks for your help !
Cheers