-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
brew install postgresql fails during link step in Mac OS (10.7.4) with XCode 4.3.3 #13044
Comments
+1 Real headache. |
Me too. Also with 4.3.2 |
Does #13037 help you? |
Thanks! It worked like a charm |
Ok just don't forget to revert once that fix is in homebrew. Otherwise brew update might show git conflicts. |
thanks man! worked for me! my env is below CPU: quad-core 64-bit sandybridge |
+1 for #13037 |
+1 Thanks! On Tuesday, June 26, 2012 at 7:58 PM, Matthew Lehner wrote:
|
@samueljohn That fixed the problem. Thanks a bunch. |
Thanks, @samueljohn -- this unblocked two of our new developers, each of whom lost a day to workstation setup that should have taken a couple of hours instead. If you're ever in Charlottesville, VA, let me know so I can buy you lunch! |
@fj ... will you punch me in the face when I tell you that is was (partly) my fault the issue occurred in the first place? I committed a change which added the OS X SDK-root from Xcode to the "-L" flags in order to support Xcode-only setups because Apple does not ship their OS with the SDK anymore. The assumption that the SDK in the Xcode and in the "Command Line Tools" are identical seems not to hold but 99% of the formulae are fine with this. However, due to unknown reasons postgresql and valgrind (and poppler and zookeeper) fail to build. I feel so sorry that your devs lost two days and felt like homebrew is broken. The opposite was my intention - make Homebrew work out of the box. I think a buildbot (and automated tests) could have prevented this - but we have no. |
@samueljohn Automated tests and a buildbot would be nice. Homebrew is definitely beyond the minimal complexity needed to make CI worthwhile, especially with the (I'm sure) vast array of potential configurations it might have to support. This is probably something that's worth talking about with the other major contributors, but you guys could pretty easily raise some funds to support a hosted OSX instance and run per-commit continuous integration, especially with all the time and money that Homebrew saves teams. |
Thanks it works! Love you! Works :) |
Hi! I tried that and get the following errors: afriappsmini:local afriapps$ brew pull 13037 Any ideas? |
@afriapps The #13037 has long been pulled and is alrady in homebrew, therefore applying it now again fails. You should If you have an issue with postgres, then check the FAQ for what we need to know when you open a new issue. Thanks! |
I've posted the verbose output of running
brew install postgresql
to a gist. https://gist.github.com/2998598brew is suggesting that #11759 might be helpful, but none of the solutions there have helped. I've already tried the following.
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
andpg_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.
Running
brew doctor
results inYour system is raring to brew.
.The text was updated successfully, but these errors were encountered: