brew install zlib在osx mavericks上抛出错误

时间:2014-03-31 12:18:47

标签: php macos osx-mavericks homebrew zlib

我首先尝试安装josegonzalez / homebrew-php。它在zlib安装时失败了。然后我尝试安装zlib,它以同样的方式失败了。以下是错误。任何帮助将不胜感激。

    Indatuss-MacBook-Pro-7% brew install zlib
==> Downloading http://zlib.net/zlib-1.2.8.tar.gz
Already downloaded: /Library/Caches/Homebrew/zlib-1.2.8.tar.gz
==> Patching
patching file configure
==> ./configure --prefix=/usr/local/Cellar/zlib/1.2.8
==> make install
make: *** [inflate.o] Error 1
1 error generated.
make: *** [trees.o] Error 1
1 error generated.
make: *** [deflate.o] Error 1

不确定导致此错误的原因,或者更不用说如何修复它。

1 个答案:

答案 0 :(得分:9)

试试这个

  

brew tap homebrew / dupes

     

brew install zlib

     

brew list zlib