brew doctor BEFORE CREATING A TICKET!
If you create a ticket please paste your
brew --config, and
brew install foo 2>&1 output into a Gist with your ticket.
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 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:
https:link from the browser bar and not the