编译安装在执行./configure步骤报错,是因为缺少环境变量
checking for C compiler … not found
./configure: error: C compiler cc is not found
解决办法
yum -y install gcc
yum -y install gcc-c++
.
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=
解决办法
yum -y install openssl openssl-devel
本文解决了在编译安装过程中遇到的./configure步骤错误,包括找不到C编译器和HTTP重写模块要求PCRE库的问题,提供了使用yum安装gcc、gcc-c++、openssl和openssl-devel的解决方案。

6010

被折叠的 条评论
为什么被折叠?



