Nginx安装 ./configure: error

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/huang_sheng0527/article/details/74989854

安装Nginx时报错

./configure: error: ngx_http_lua_module requires the Lua library.

解决办法

yum install lua-devel



安装Nginx时报错

./configure: error: the HTTP image filter module requires the GD library.
You can either do not enable the module or install the libraries.

解决办法:

yum  -y install gd-devel


安装Nginx时报错

./configure:  error: the HTTP rewrite module requires the PCRE library.

安装pcre-devel解决问题

yum -y install pcre-devel



安装Nginx时报错

./configure: error: SSL modules require the OpenSSL library.

You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl=<path> option

解决办法:

yum  -y install openssl openssl-devel



猜你喜欢

转载自blog.csdn.net/huang_sheng0527/article/details/74989854
今日推荐