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 on 2018-05-02 19:14  Windy心梦无痕  阅读(8557)  评论(1编辑  收藏  举报