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

 

 

CentOS 7 下 安装 nginx 执行配置命令

./configure 

时提示以下错误:

              

解决:

执行以下命令:

  1. yum -y install gcc gcc-c++ autoconf automake make  
  2. 上述安装成功后在尝试安装
  3. 显示安装成功
  1.  

 

posted @ 2018-09-24 09:57  星朝  阅读(17709)  评论(0编辑  收藏  举报