Reputation: 2989
I'm running into an error while installing postgresql 9.1.4 with homebrew. I've tried everything I can think of to work around the problem including....
brew install --use-gcc postgresql
brew install --use-clang postgresql
brew install --use-llvm postgresql
CC=/usr/bin/gcc-4.2 brew install postgresql
export CC=/usr/bin/gcc-4.2 && brew install postgresql
brew install postgresql --32-bit
brew install postgresql --without-ossp-uuid
brew install postgresql --no-python
PYTHON=/usr/local/bin/python brew install postgresql
I've noticed that postgreqsl 9.0.4 is already installed on the system, but many of the commands that I'd expect to be there are missing, such as initdb
and pg_ctl
, so I don't want to use that version.
I suspect that the issue I'm encountering is caused by libraries from the system version of postgresql are being linked against, but I'm not sure how to test this.
Any thoughts? I posted the verbose output of running brew install postgresql
in a gist. https://gist.github.com/2998598
Upvotes: 0
Views: 2425
Reputation: 311735
Looks like this is now a known issue and is fixed by applying a Homebrew patch.
Upvotes: 1