2013-09-24 127 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