Created
August 16, 2012 14:51
-
-
Save netologist/3370765 to your computer and use it in GitHub Desktop.
Fix Mountain Lion 10.8 Brew Problems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Saving the private “brew” from Mountain Lion | |
sudo chown -R `whoami` /usr/local | |
go to Xcode -> Preferences -> Downloads tab then install the “Command Line Tools.” | |
download and install XQuartz 2.7.2 | |
sudo ln -s /opt/X11 /usr/X11 | |
do logout and login | |
brew update | |
brew upgrade maybe ;) | |
brew cleanup as you wish ;) | |
when you met: | |
... | |
Aborting | |
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master | |
cd /usr/local/ | |
git fetch origin | |
git reset --hard origin/master | |
when you met: | |
Warning: Some installed formula are missing dependencies. | |
You should `brew install` the missing dependencies: | |
brew install serf | |
and/or | |
... | |
Error: Failed executing: ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/serf/1.1.0 (serf.rb:14) | |
sudo ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain | |
May the brew be with you… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment