【发布时间】:2015-12-19 13:03:01
【问题描述】:
我在 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…
即使使用 brew,我也不想安装另一个 openssl。
【问题讨论】:
-
当我在配置文件的第 24800 行修复变量
ac_cv_openssl=yes时,配置命令起作用。但随后在制作过程中发生错误:fatal error: 'openssl/rsa.h' file not found -
编译工作在 10.9 和 10.10 上,尽管 openssl 版本是相同的,所以我猜新系统有一些不同...
标签: apache openssl osx-elcapitan