自制软件使用 brewed python 安装 gdb



我已经在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

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

最新更新