./configure 报错信息如下:checking for PCRE library ... foundchecking for PCRE JIT support ... not foundchecking for OpenSSL library ... not foundchecking for OpenSSL library in /usr/local/ ... not foundchecking for OpenSSL library in /usr/pkg/ ... not foundchecking for OpenSSL library in /opt/local/ ... not found./configure: error: SSL modules require the OpenSSL library.You can either do not enable the modules, or install the OpenSSL libraryinto the system, or build the OpenSSL library statically from the sourcewith nginx by using --with-openssl=<path> option.ERROR: failed to run command: sh ./configure --prefix=/usr/local/openresty/nginx \...FAIL但我已经用brew install openssl 安装openssl了,$ which openssl /usr/local/bin/openssl若./configure --with-openssl="/usr/local/bin/openssl" ,configure 可以过,但make报错:cd /usr/local/bin/openssl \ && if [ -f Makefile ]; then /Library/Developer/CommandLineTools/usr/bin/make clean; fi \ && ./config --prefix=/usr/local/bin/openssl/.openssl no-shared \ && /Library/Developer/CommandLineTools/usr/bin/make \ && /Library/Developer/CommandLineTools/usr/bin/make install LIBDIR=lib/bin/sh: line 0: cd: /usr/local/bin/openssl: Not a directorymake[2]: *** [/usr/local/bin/openssl/.openssl/include/openssl/ssl.h] Error 1make[1]: *** [build] Error 2make: *** [all] Error 2以前装1.7的时候没有碰到这个问题的啊,请大家帮忙解答下,谢谢。
--