Created
January 12, 2011 02:10
-
-
Save mikesten/775566 to your computer and use it in GitHub Desktop.
brew install postgresql failing with no available formula for ossp-uuid
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
I'm trying to "brew install postgresql" but it's failing with "No available formula for ossp-uuid". A bit of poking though and there does seem to be a ossp-uuid formula. See the terminal output below: | |
~: brew doctor | |
Your OS X is ripe for brewing. | |
Any troubles you may be experiencing are likely purely psychosomatic. | |
~: brew update | |
From http://github.com/mxcl/homebrew | |
* branch master -> FETCH_HEAD | |
Already up-to-date. | |
~: brew install ossp-uuid | |
Error: No available formula for ossp-uuid | |
~: brew install https://github.com/mxcl/homebrew/raw/master/Library/Formula/ossp-uuid.rb | |
######################################################################## 100.0% | |
==> Downloading ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz | |
File already downloaded and cached to /Users/mike/Library/Caches/Homebrew | |
==> ./configure --disable-debug --without-perl --without-php --without-pgsql --prefix=/usr/local/Cellar/ossp-uuid/1.6.2 | |
==> make | |
==> make install | |
/usr/local/Cellar/ossp-uuid/1.6.2: 11 files, 364K, built in 27 seconds | |
~: brew install postgresql | |
Error: No available formula for ossp-uuid | |
For posterity, here's the fix.
Turns out I somehow had mystery local changes to /usr/local (discovered with git status). Running git reset --hard fixed it. I also got a reply from @mxcl, whose advice was:
cd brew --prefix
cd Library
git checkout .
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Worked for me: