brew update and
brew doctor BEFORE CREATING AN ISSUE!
If you create an issue please paste you the output of running
brew --config and
brew install -v foo 2>&1 into a Gist with your the issue.
brew update— then try again.
brew doctor— the doctor diagnoses common issues.
brew install --env=std graphviz.
/usr/local. If you’re unsure what to do, you can:
sudo chown -R $(whoami) /usr/local
But really you should know what you’re doing.
Read through the Common Issues page
brew --config will list these versions. If you have Xcode installed, check the App Store for upgrades and in Preferences for CLT upgrades. If you only have the CLT installed, then check Apple Connect.
brew doctorwarns about unbrewed dylibs, these seriously cause build trouble. Yes, we know it’s hard to know what to do with this warning. But it’s hard to advise!
brew doctortells you to reinstall Xcode. If you have Xcode 4.3 or later, and
clang --versionreturns an outdated version, but
xcrun clang --versionreturns a newer. Then you'll need to reinstall Command Line Tools. Uninstall using remove_CLI_tools.sh script, reopen Xcode and you should be able to install Command Line Tools again. Finally,
clang --versionshould show the correct version.
We’ll fix the bug if you ticket it. In the following instructions replace $FORMULA with the name of the formula that failed to build.
HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install $FORMULA 2>&1or
brew install -v $FORMULA 2>&1
~/Library/Logs/Homebrew/$FORMULA, for example:
brew gist-logs --config --doctor $FORMULA.
https:link from the browser bar and not the