2014-02-21 109 views
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

回答