Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/backbone.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos Can';t brew在Mac Snow Leopard上安装postgresql_Macos_Postgresql_Osx Snow Leopard_Homebrew - Fatal编程技术网

Macos Can';t brew在Mac Snow Leopard上安装postgresql

Macos Can';t brew在Mac Snow Leopard上安装postgresql,macos,postgresql,osx-snow-leopard,homebrew,Macos,Postgresql,Osx Snow Leopard,Homebrew,正在尝试在我的OSX 10.6.8上安装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

正在尝试在我的OSX 10.6.8上安装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
==> 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
输出(尝试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

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
==> 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
不知道该怎么办。这是无用的。有人吗


更新:尝试了brew doctor,它没有给我任何有用的提示,只是一些关于它在哪里寻找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

错误消息与postgresql无关。您是否尝试过
brew doctor

请尝试
brew doctor
并查看此链接(),我认为您应该关注
vWork operation timed out
message

是的,我尝试过brew doctor,但所有警告似乎都不相关。vWork operation timed out(vWork操作超时)消息并非每次都出现,但我会进一步研究它…只是使用
——不带ossp uuid
标志尝试了它,但仍然失败。没有准备好重新安装自制等,我将提交一个第一。谢谢您的尝试。@appleparan-结果可能只是一个简单的资源限制问题,请参阅票证的解决方案-因此您对vWork操作的理解是正确的-谢谢您的帮助