configure: error: no acceptable C compiler found in $PATH

今天源码安装mysql遇到报错:

checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/Disk/mysql_source/mysql-5.1.72':
configure: error: no acceptable C compiler found in $PATH

解决办法:

yum install gcc


你可能感兴趣的:(include,create,whether)