-
Notifications
You must be signed in to change notification settings - Fork 130
Troubleshooting
mistydemeo edited this page Mar 13, 2013
·
2 revisions
PLEASE,
PLEASE,
PLEASE brew doctor
BEFORE CREATING A TICKET!
If you create a ticket please paste your brew doctor
and brew --config
output into a Gist with your ticket.
Thank you!
-
brew update
— then try again. -
brew doctor
— the doctor diagnoses common issues. - If you’re installing something Java-related, maybe you need the Java Developer Update?
- Check that you have the latest Xcode available for your OS. That's 2.5 for Tiger, 3.1.4 for Leopard.
- If things fail with permissions errors you should check the permissions in
/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
- If
brew doctor
warns 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!
We’ll fix the bug; if you ticket it. In the following instructions replace foo with the name of the formula that failed to build.
- Create a new ticket;
- Title it “Foo failed to build on 10.x”, where 10.x is your version of MacOS;
- Create a new gist, and add (in the same gist!) the following:
- The output from
HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install foo
- The contents of the largest numbered log in
~/Library/Logs/Homebrew/foo
, for example:03.make
; - The output from
brew doctor
;
- Link to the gist in your ticket. Be sure to post the
http:
link from the browser bar and not thegit:
link.
Thank you!