Homebrew用brewed python安装gdb

时间:2014-02-21 07:59:56

标签: homebrew

我已经在OS X mavericks上安装了版本的python 2.7.6,现在我正在尝试使用--with-brewed-python选项安装gdb。

但是我收到以下错误消息。为什么要在/usr/local而不是/usr/local/bin中检查python?我认为这就是它失败的原因。任何人都有任何想法?

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

1 个答案:

答案 0 :(得分:1)

尝试:brew -v install --with-brewed-python gdb https://github.com/Homebrew/homebrew-dupes/issues/277