2013-09-24 191 views
1

試圖在我的OSX 10.6.8安裝PostgreSQL:不能BREW在Mac雪豹安裝PostgreSQL

$ brew install postgresql 

輸出(嘗試1):

==> Installing dependencies for postgresql: ossp-uuid 
==> Installing postgresql dependency: ossp-uuid 
==> Downloading ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz 

curl: (7) couldn't connect to host 
Trying a mirror... 
==> Downloading http://gnome-build-stage-1.googlecode.com/files/uuid-1.6.2.tar.gz 
######################################################################## 100.0% 
==> ./configure --prefix=/usr/local/Cellar/ossp-uuid/1.6.2 --without-perl --without-php --without-pgsql 
==> make 
make: *** [uuid_sha1.lo] Error 1 
make: *** Waiting for unfinished jobs.... 
make: *** [uuid_md5.lo] Error 1 
make: *** [uuid.lo] Error 1 
make: *** [uuid_prng.lo] Error 1 

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting 

輸出(試2):

==> Installing dependencies for postgresql: ossp-uuid 
==> Installing postgresql dependency: ossp-uuid 
==> Downloading ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz 
Already downloaded: /Library/Caches/Homebrew/ossp-uuid-1.6.2.tar.gz 
==> ./configure --prefix=/usr/local/Cellar/ossp-uuid/1.6.2 --without-perl --without-php --without-pgsql 
==> make 
i686-apple-darwin10-gcc-4.2.1: vfork: Operation timed out 
gcc-4.2: vfork: Operation timed out 
make: *** [uuid_prng.lo] Error 1 
make: *** [uuid_md5.lo] Error 1 
make: *** [uuid.lo] Error 1 

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting 

不知道該如何處理是。 READ THIS link是無用的。任何人?


UPDATE:嘗試釀造的醫生,這並沒有給我任何有用據我所知,只是它一直在尋找一些Python警告:

Warning: "config" scripts exist outside your system or Homebrew directories. 
`./configure` scripts often look for *-config scripts to determine if 
software packages are installed, and what additional flags to use when 
compiling and linking. 

Having additional scripts in your path can confuse software installed via 
Homebrew if the config script overrides a system or Homebrew provided 
script of the same name. We found the following "config" scripts: 

    /Library/Frameworks/Python.framework/Versions/2.7/bin/python-config 
    /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config 

回答

2

錯誤消息不與向PostgreSQL 。你有沒有試過brew doctor? 嘗試brew doctor,看看這個鏈接(OS X 10.8 - error trying to exec '/usr/bin/i686-apple-darwin11-gcc-4.2.1' - installing json gem)我想你應該專注於vfork operation timed out消息

+0

是啊,我曾試圖沖泡醫生,但沒有警告似乎有關。 vfork操作超時消息不會每次都出現,但我會更多地考慮它... – Yarin

+0

https://twitter.com/MicahRoberson/status/229659977143435264試試這個 –

+0

剛剛用'--without-ossp -uuid'國旗,但仍然失敗。還沒準備好重新安裝自制軟件等,我會首先提交[** ticket **](https://github.com/mxcl/homebrew/issues/22804)。感謝您的嘗試。 – Yarin