你好,指定成目录/usr/local/Cellar/openssl/1.0.2e_1/ 后,提示的错误是:make[2]: *** [/usr/local/Cellar/openssl/1.0.2e_1/.openssl/include/openssl/ssl.h] Error 127make[1]: *** [build] Error 2目录里面为什么都会加上 .openssl 呢?没有这个 .openssl /usr/local/Cellar/openssl/1.0.2e_1/include/openssl/ssl.h 就是正确的目录了On Thursday, January 14, 2016 at 5:45:40 PM UTC+8, doujiang wrote:Hello,2016-01-14 17:11 GMT+08:00 binnchx chen <bin...@gmail.com>:./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的时候没有碰到这个问题的啊,请大家帮忙解答下,谢谢。 --with-openssl=DIR set path to OpenSSL library sources然而,看你的地址,貌似是可执行的目录呢你看 error 里,说的是在找 openssl/include/openssl/ssl.h 文件 -- -- -- YuanSheng Wang---------------------------------------My Github: https://github.com/membphisOpenResty lover ^_^
Hello,2016-01-14 17:11 GMT+08:00 binnchx chen <bin...@gmail.com>:./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的时候没有碰到这个问题的啊,请大家帮忙解答下,谢谢。 --with-openssl=DIR set path to OpenSSL library sources然而,看你的地址,貌似是可执行的目录呢你看 error 里,说的是在找 openssl/include/openssl/ssl.h 文件 -- --
./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的时候没有碰到这个问题的啊,请大家帮忙解答下,谢谢。
--