An error is reported when Nginx is installed./configure: error: theHTTPrewritemodulerequiresthePCRElibrary. install pcre-devel to solve the problem. yum-yinstallpcre-devel error prompt:./configure: error: theHTTPcachemo...
An error occurred while installing Nginx.
./Configure: error: the HTTP rewrite module requires the PCRE library.
Install pcre-devel to solve the problem
Yum-y install pcre-devel
Error message:./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 = Options.
Solution:
Yum-y install openssl-devel
Summary:
Yum-y install pcre-devel openssl-devel
./Configure -- prefix =/usr/local/nginx
Make
Make install
Everything is done
Author "WebOS"