源码安装nginx报错,找不到gcc,但是实际上gcc是存在的,如下: # ./configure checking for OS + Linux -.el7.x86_64 x86_64 checking for C compiler ... not found ./configure: error: C compiler cc is not found # 尝试找寻gcc # whereis gcc .gz # 尝试指定cc # ./configure --with-cc=/usr/bin/g…
CentOS 7.3 下 安装 Nginx 执行配置命令 ./configure 时提示以下错误: checking for OS + Linux 2.6.32-431.el6.x86_64 x86_64 checking for C compiler ... not found 解决: 执行以下命令: yum -y install gcc gcc-c++ autoconf automake make…
编译安装在执行./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 di…