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

./configure 

时提示以下错误:

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

解决:

执行以下命令:

  1. yum -y install gcc gcc-c++ autoconf automake make  centos7安装nginx 报./configure: error: C compiler cc is not found
  2. 上述安装成功后在尝试安装
  3. centos7安装nginx 报./configure: error: C compiler cc is not found
  4. 显示安装成功
  1.  centos7安装nginx 报./configure: error: C compiler cc is not found

相关文章: