Brew installation Php70 appears configure:error:Cannot find LIBZ Error Resolution

Source: Internet
Author: User
Tags gmp imap

based on the new installation of Mac OS Sierra (10.12) and using homebrew to install ZSH + MNMP (Mac + Nginx + Mysql + Php) Development environment tutorial under Mac with Brew installation PHP70 error.
Brew Install PHP70--with-debug--with-gmp--with-homebrew-curl--with-homebrew-libressl--WITH-HOMEBREW-LIBXML2-- With-homebrew-libxslt--with-imap--with-libmysql--with-mysql

Error message:

configure: error: cannot find libzif reporting this issue please  do so at  (not homebrew/brew or homebrew/core): https://github.com/josegonzalez/ homebrew-php/issues/usr/local/homebrew/library/homebrew/utils/github.rb:226:in  ' Raise_api_error ':  validation failed  (Github::error)     from /usr/local/homebrew/library/ homebrew/utils/github.rb:184:in  ' Open '     from /usr/local/homebrew/library/ homebrew/utils/github.rb:233:in  ' issues_matching '     from /usr/local/homebrew/ library/homebrew/utils/github.rb:266:in  ' Issues_for_formula '     from /usr/local/ homebrew/library/homebrew/exceptions.rb:325:in  ' Fetch_issues '     from /usr/local /homebrew/library/homebrew/exceptions.rb:321:in  ' Issues '     from /usr/local/ Homebrew/library/homebrew/exceptions.rb:383:in  ' Dump '     from /usr/local/homebrew/library/homebrew/brew.rb:133 :in  ' rescue in <main> '     from /usr/local/homebrew/library/ homebrew/brew.rb:31:in  ' <main> '


Workaround:


On the command line, execute $ xcode-select--install Install the Brew install again PHP70--with-debug--with-gmp--with-homebrew-curl-- With-homebrew-libressl--with-homebrew-libxml2--with-homebrew-libxslt--with-imap--with-libmysql--with-mysql successfully resolved.


Reference Links:

Http://stackoverflow.com/questions/39442552/5-boxen-errors-when-running-boxen-our-boxen


This article is from the "PHP ecshop Two Development" blog, please be sure to keep this source http://phpecshop.blog.51cto.com/6296699/1883448

Brew installation Php70 appears configure:error:Cannot find LIBZ Error Resolution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.