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

简介:

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

1
2
3
4
5
6
7
8
9
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

解决办法:

1
yum  install  gcc










本文转自 xinsir999 51CTO博客,原文链接:http://blog.51cto.com/xinsir/1748933,如需转载请自行联系原作者
目录
相关文章
libtool: Version mismatch error 解决
libtool: Version mismatch error 解决
705 0
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
288 0
|
Java Linux
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
configure: error: gperf is needed
configure: error: gperf is needed
117 0
configure: error: libacl not found
configure: error: libacl not found
76 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
136 0
configure: error: Library requirements (libpcre >= 7.8) not met
configure: error: Library requirements (libpcre >= 7.8) not met
129 0
configure: error: You requested LIBYUV but not found...die
configure: error: You requested LIBYUV but not found...die
88 0
configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables
315 0
configure: error: Package requirements (commoncpp 6.2.2) were not met
configure: error: Package requirements (commoncpp 6.2.2) were not met
80 0