原文:centos7安装nginx 报./configure: error: C compiler cc is not found

CentOS 下安装nginx执行配置命令 . configure 时提示以下错误: 解决: 执行以下命令: yum yinstallgccgcc c autoconfautomakemake 上述安装成功后在尝试安装 显示安装成功 ...

2018-05-02 19:14 1 7867 推荐指数:

查看详情

./configure: error: C compiler cc is not found

没有安装gcc 在安装nginx之前先安装依赖软件 yum install -y gcc gcc-c++ autoconf pcre pcre-devel make automake wget httpd-tools vim tree ...

Tue Jan 15 04:21:00 CST 2019 0 2342
nginx安装错误:c compiler cc is not found

今天安装软件nginx的时候遇到的报错:c compiler cc is not found 查了下网上的资料,解决方案也不复杂。 先说明下环境: 服务器:CentOS 7 nginx:2.3.1 原因是因为缺少 gcc-c++ 的包 解决办法很简单,执行:yum -y ...

Wed Sep 04 05:30:00 CST 2019 0 6012
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM