我在使用自制软件安装 postgresql 9.1.4 时遇到错误。我已经尝试了我能想到的一切来解决这个问题,包括......
- 跑步
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,但是我期望的许多命令都丢失了,例如initdband pg_ctl,所以我不想使用那个版本。
我怀疑我遇到的问题是由 postgresql 系统版本的库被链接到的,但我不确定如何测试它。
有什么想法吗?brew install postgresql我在一个要点中发布了运行的详细输出。https://gist.github.com/2998598