nginx 安装 ./configure: error: C compiler cc is not found
原创 xingfu2017 发表于:2018-05-23 14:26:15
  阅读 :1093   收藏   编辑
[root@localhost nginx-1.14.0]# ./configure 
checking for OS
 + Linux 3.10.0-693.el7.x86_64 x86_64
checking for C compiler ... not found

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

[root@localhost nginx-1.14.0]#

解决办法:

yum -y install gcc gcc-c++ autoconf automake make