0
我在用自制软件安装postgresql 9.1.4时遇到错误。我用尽了一切我能想到的解决,包括问题....brew安装postgresql在Mac OS X Lion上失败(10.7.4)使用XCode 4.3.3
- 运行
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
我注意到,postgreqsl 9.0.4已经被安装在系统上,但很多,我会希望是有缺失的,这样的命令因为initdb
和pg_ctl
,所以我不想使用该版本。
我怀疑我遇到的问题是由系统版本的postgresql库引起的,但我不知道如何测试这个。
有什么想法?我发布了运行brew install postgresql
的详细输出。 https://gist.github.com/2998598