源码安装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…
checking for c compiler default output file name... configure:error:C compiler cannot create executables See 'config.log' for more details. 打开config.log查看明细: 网上找了下,说是没有安装cpp,libc5-devel,而在redhat中指的是glibc,glibc-devel,cpp,查看是否安装,: 果然没有,然后安装: 再次编译,发现换了一…