在 El Capitan 10.11.1 上编译 http 2.4.16 时遇到 OpenSSL 错误。
它正在寻找 OpenSSL 版本 >= 0.9.8a:
checking for OpenSSL... checking for user-provided OpenSSL base directory... none
checking for OpenSSL version >= 0.9.8a... FAILED
configure: WARNING: OpenSSL version is too old
默认的 OpenSSL 版本是0.9.8zg:
$ openssl version
OpenSSL 0.9.8zg 14 July 2015
最后,这是我的编译行的一部分:
./configure --prefix=/usr/local/MyWebserver/httpd-2.4.12 \
--enable-ssl \
--with-few-things… \
--disable-lots-of-things…
我不想安装另一个 openssl,即使brew
.