• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

mac brew install php55-pthreads 失败

php 搞代码 4年前 (2022-01-25) 26次浏览 已收录 0个评论
文章目录[隐藏]
<code>brew install php55-pthreads==> Installing php55-pthreads from josegonzalez/homebrew-php==> Installing dependencies for josegonzalez/php/php55-pthreads: php55==> Inst<span style="color:transparent">本文来源gaodai#ma#com搞*!代#%^码$网!</span><strong>搞代gaodaima码</strong>alling josegonzalez/php/php55-pthreads dependency: php55==> Downloading https://php.net/get/php-5.5.30.tar.bz2/from/this/mirrorAlready downloaded: /Library/Caches/Homebrew/php55-5.5.30==> ./configure --prefix=/usr/local/Cellar/php55/5.5.30 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usrLast 15 lines from /Users/xcvu/Library/Logs/Homebrew/php55/01.configure:checking for Kerberos support... /usrchecking for krb5-config... /usr/bin/krb5-configchecking for DSA_get_default_method in -lssl... nochecking for X509_free in -lcrypto... yeschecking for RAND_egd... nochecking for pkg-config... nochecking for OpenSSL version... >= 0.9.6checking for CRYPTO_free in -lcrypto... yeschecking for SSL_CTX_set_ssl_version in -lssl... yeschecking for PCRE library to use... bundledchecking whether to enable the SQLite3 extension... yeschecking bundled sqlite3 library... yeschecking for ZLIB support... yeschecking if the location of ZLIB install directory is defined... noconfigure: error: Cannot find libzREAD THIS: https://git.io/brew-troubleshootingIf reporting this issue please do so at (not Homebrew/homebrew):  https://github.com/josegonzalez/homebrew-php/issues</code>

以上是执行过程

根据报错:configure: error: Cannot find libz
检查zlib也是安装了,不是很清楚还为何报错

补充php55,apache24,mysql等都是brew安装的

回复内容:

<code>brew install php55-pthreads==> Installing php55-pthreads from josegonzalez/homebrew-php==> Installing dependencies for josegonzalez/php/php55-pthreads: php55==> Installing josegonzalez/php/php55-pthreads dependency: php55==> Downloading https://php.net/get/php-5.5.30.tar.bz2/from/this/mirrorAlready downloaded: /Library/Caches/Homebrew/php55-5.5.30==> ./configure --prefix=/usr/local/Cellar/php55/5.5.30 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usrLast 15 lines from /Users/xcvu/Library/Logs/Homebrew/php55/01.configure:checking for Kerberos support... /usrchecking for krb5-config... /usr/bin/krb5-configchecking for DSA_get_default_method in -lssl... nochecking for X509_free in -lcrypto... yeschecking for RAND_egd... nochecking for pkg-config... nochecking for OpenSSL version... >= 0.9.6checking for CRYPTO_free in -lcrypto... yeschecking for SSL_CTX_set_ssl_version in -lssl... yeschecking for PCRE library to use... bundledchecking whether to enable the SQLite3 extension... yeschecking bundled sqlite3 library... yeschecking for ZLIB support... yeschecking if the location of ZLIB install directory is defined... noconfigure: error: Cannot find libzREAD THIS: https://git.io/brew-troubleshootingIf reporting this issue please do so at (not Homebrew/homebrew):  https://github.com/josegonzalez/homebrew-php/issues</code>

以上是执行过程

根据报错:configure: error: Cannot find libz
检查zlib也是安装了,不是很清楚还为何报错

补充php55,apache24,mysql等都是brew安装的

xcode-select –install 安装命令行工具后再试


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:mac brew install php55-pthreads 失败
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址