【发布时间】:2012-06-26 20:22:58
【问题描述】:
我在使用自制软件安装 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,但是缺少我期望的许多命令,例如 initdb 和 pg_ctl,所以我没有想用那个版本。
我怀疑我遇到的问题是由 postgresql 系统版本的库被链接到的,但我不确定如何测试它。
有什么想法吗?我在要点中发布了运行brew install postgresql 的详细输出。 https://gist.github.com/2998598
【问题讨论】:
标签: postgresql homebrew