1.报错信息
[root@cxf nginx-1.20.2]# ./configure
checking for OS
+ Linux 4.18.0-305.12.1.el8_4.x86_64 x86_64
checking for C compiler ... not found
./configure: error: C compiler cc is not found
2.解决办法
yum -y install gcc
yum -y install gcc-c++
[root@cxf nginx-1.20.2]# ./configure
checking for OS
+ Linux 4.18.0-305.12.1.el8_4.x86_64 x86_64
checking for C compiler ... not found
./configure: error: C compiler cc is not found
yum -y install gcc
yum -y install gcc-c++