安装nghttp2时找不到ZLIB

时间:2016-12-09 07:22:24

标签: homebrew zlib nghttp2

我想为我的mac os安装nghttp2但是在运行命令brew install nghttp2之后,我面对这个输出:

Warning: You are using OS X 10.12.
We do not provide support for this pre-release version. 
You may encounter build failures or other breakages.
==> Downloading https://github.com/tatsuhirot/nghttp2/releases/download/v1.7.1/
Already downloaded: /Library/Caches/Homebrew/nghttp2-1.7.1.tar.xz
==> ./configure --prefix=/usr/local/Cellar/nghttp2/1.7.1 --disable-silent-rules 
Last 15 lines from  /Users/kianooshabbasi/Library/Logs/Homebrew/nghttp2/01.configure:
checking for ev_time in -lev... yes
checking ev.h usability... yes
checking ev.h presence... yes
checking for ev.h... yes 
checking for OPENSSL... yes
checking for LIBEVENT_OPENSSL... yes
checking for JANSSON... yes
checking for xml2-config... /usr/local/opt/libxml2/bin/xml2-config   
checking for libxml - version >= 2.7.7... yes (version 2.9.3)
checking for library containing malloc_stats_print... no
checking for library containing je_malloc_stats_print... no
checking for LIBSPDYLAY... no
configure: Package 'zlib', required by 'libspdylay', not found
configure: The SPDY support in nghttpx and h2load will be disabled.
configure: error: spdylay was requested (--with-spdylay) but not found

正如在一些类似的回复中所说,我尝试了xcode-select --installbrew upgrade,但问题没有解决。

0 个答案:

没有答案