php – brew install zlib在osx mavericks上抛出错误

前端之家收集整理的这篇文章主要介绍了php – brew install zlib在osx mavericks上抛出错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我首先尝试安装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

不确定是什么导致了这个错误,或者更不用说如何解决它.

试试这个

brew tap homebrew/dupes

brew install zlib

brew list zlib

猜你在找的PHP相关文章