mxcl/homebrew — Issue #10244: 10.7 and Xcode 4.3 git install errors
Author: roryf
Created: 2012-02-16 23:43:51+00:00
State: open

I've just done a clean instal of OS X 10.7 and installed Xcode from the App Store. I ran the Java Developer Update.

Upon running `brew install git` I am getting the output in [this gist](https://gist.github.com/1848769).

`brew doctor` says:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:685: command not found: git status -s Library/Homebrew/
You have no /usr/bin/cc. This will cause numerous build issues. Please
reinstall Xcode.
"Git" was not found in your path.

Homebrew uses Git for several internal functions, and some formulae
use Git checkouts instead of stable tarballs.

You may want to install git:
brew install git

It appears that you are using the osx-gcc-installer.

This is unsupported, and software that require headers and other
resources that are normally provided by Xcode will fail to compile.

We recommend that you install Xcode.

Xcode is installed to /Applications only, there is no /Developer directory. Looking at the install output it appears homebrew correctly locates gcc from Xcode.app.

Is this setup supported yet or do I need to perform further steps to intall the devtools? I've read some of #9179 but there didn't seem to be a conclusion.