当前位置: 代码迷 >> Java Web开发 >> linux解决方法
  详细解决方案

linux解决方法

热度:8201   发布时间:2013-02-25 21:17:48.0
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地址。
  相关解决方案