1
我已经在OS X mavericks上安装了python 2.7.6的酿造版本,现在我正尝试安装gdb与--with-brewed-python
选项。Homebrew安装gdb与酿造python
但我收到以下错误信息。为什么它在/usr/local
中检查python而不是/usr/local/bin
?我认为这就是失败的原因。任何人有任何想法?
brew install gdb --with-brewed-python
==> Downloading http://ftpmirror.gnu.org/gdb/gdb-7.6.2.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/gdb/7.6.2 --with-system-readline --with-python=/usr/local
==> make
checking whether to use python... /usr/local
checking for python2.7... no
configure: error: no usable python found at /usr/local
make[1]: *** [configure-gdb] Error 1
make: *** [all] Error 2
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-dupes/issues
'--with酿造-python'是过时的,正确的交换机现在是' - -with-python'。 – Barry