mac brew install php55-pthreads 失敗

來源:互聯網
上載者:User
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

以上是執行過程

根據報錯:configure: error: Cannot find libz
檢查zlib也是安裝了,不是很清楚還為何報錯

補充php55,apache24,mysql等都是brew安裝的

回複內容:

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

以上是執行過程

根據報錯:configure: error: Cannot find libz
檢查zlib也是安裝了,不是很清楚還為何報錯

補充php55,apache24,mysql等都是brew安裝的

xcode-select --install 安裝命令列工具後再試

  • 相關文章

    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.