linux
./configure --prefix=/opt/nginx --with-pcre=/opt/tools/pcre-8.10 --with-zlib=/opt/tools/zlib-1.2.5
提示错误:
./configure: error: the HTTP cache module requires md5 functions
from OpenSSL library. You can either disable the module by using
--without-http-cache option, or install the OpenSSL library into the system,
or build the OpenSSL library statically from the source with nginx by using
--with-http_ssl_module --with-openssl=<path> options.
下一步就不能运行make命令了。
[root@localhost nginx-0.9.7]# make
make: *** No rule to make target `build', needed by `default'. Stop.
。为什么
------解决方案--------------------
以下看可以解决你的问题不:
./configure --prefix=/opt/nginx --with-pcre=/opt/tools/pcre-8.10 --with-zlib=/opt/tools/zlib-1.2.5
后面加上--with-openssl=openssl地址。