》常见的组件错误
1.http组件缺失
./configure: error: the HTTP gzip module requires the zlib library.
You can either disable the module by using –without-http_gzip_module
option, or install the zlib library into the system, or build the zlib
library
statically from the source with nginx by using –with-zlib=<path> option.
解决方法
yum install -y zlib-devel
2.config.log
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
解决方法
yum install gcc
3.OpenSSL
Configuration summary
+ using system PCRE library
+ OpenSSL library is not used
+ using system zlib library
yum install openssl openssl-devel
4.c++
You need a C++ compiler for C++ support
yum install -y gcc gcc-c++