Skip to content

Instantly share code, notes, and snippets.

@mikesten
Created January 12, 2011 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikesten/775566 to your computer and use it in GitHub Desktop.
Save mikesten/775566 to your computer and use it in GitHub Desktop.
brew install postgresql failing with no available formula for ossp-uuid
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
@gma
Copy link

gma commented Jan 12, 2011

Worked for me:

poncho% brew update
remote: Counting objects: 1076, done.
remote: Compressing objects: 100% (685/685), done.
remote: Total 956 (delta 702), reused 477 (delta 266)
Receiving objects: 100% (956/956), 116.15 KiB, done.
Resolving deltas: 100% (702/702), completed with 108 local objects.
From http://github.com/mxcl/homebrew
 * branch            master     -> FETCH_HEAD
Updated Homebrew from 80bb67ae to 0af0eebb.
==> The following formulae are new:
abiword     glfw        imagick     openconnect stklos
aggregate   gnu-units   ios-sim     perceptualdiff  strategoxt
aterm       go-access   libicns     plzip       uptimed
bullet      groovyserv  liblqr      primer3     wv
c-kermit    gst-rtsp    libxdiff    qt-mobility yaml-cpp
cdecl       gtkmm       lzlib       rmcast
daemonize   gtksourceview   metapixel   scantailor
dcfldd      hudson      mogenerator sdf
djview4     icoutils    nvi     sipcalc
==> The following formulae were updated:
afflib          gradle      mtr         sbt
aircrack-ng     grails      mysql           scala
aria2           groonga     nginx           scalate
asciidoc        groovy      node            sip
atf         gstreamer       nspr            skipfish
auto-scaling        gwenhywfar      parallel        sleuthkit
autojump        httrack     pbc         socat
avrdude         hub         pcre            source-highlight
bibutils        hunspell        pngcrush        sphinx
cassandra       imagemagick     postgis         spring-roo
cmake           ktoblzcheck     postgresql      sqlite
coffee-script       kyoto-cabinet   pypy            sshuttle
coreutils       leiningen       pyqt            stunnel
couchdb-lucene      libevent        qt          suite-sparse
d-bus           libgpg-error    qwt         swi-prolog
dmenu           libtasn1        r           syslog-ng
drush           libusb      ranger          tintin
ec2-api-tools       libvirt     redis           tmux
eigen           llvm        resty           unison
erlang          lsof        riak            wget
exodriver       lua         ringojs         wine
fits            macvim      rubinius        yaz
fossil          maxima      ruby            yuicompressor
gfortran        mcabber     rxvt-unicode        znc
git         mpc         s-lang          zsh
gpac            mpd         s3cmd
==> The following external commands were updated:
brew-pull
poncho% brew install ossp-uuid
==> Downloading ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz
######################################################################## 100.0%
==> ./configure --disable-debug --without-perl --without-php --without-pgsql --p
==> make
==> make install
/usr/local/Cellar/ossp-uuid/1.6.2: 11 files, 364K, built in 15 seconds
poncho% 

@mikesten
Copy link
Author

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