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,如需转载请自行联系原作者
目录
打赏
0
0
0
0
235
分享
相关文章
ERROR: Could not find a version that satisfies the requirement thop (from versions: none) ERROR: No
这篇文章介绍了在尝试安装`thop`包时遇到的"No matching distribution found"错误,并提供了通过直接从GitHub源码安装`thop`的解决方法。
ERROR: Could not find a version that satisfies the requirement thop (from versions: none) ERROR: No
configure: error: cannot guess build type; you must specify one
configure: error: cannot guess build type; you must specify one
495 0
ERROR: Failed building wheel for osgeo
ERROR: Failed building wheel for osgeo
477 0
WARNING: library configuration mismatch
WARNING: library configuration mismatch
407 0
fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler
fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler
758 0
configure: error: gperf is needed
configure: error: gperf is needed
130 0
configure: error: libacl not found
configure: error: libacl not found
96 0
configure: error: udev support requested but libudev header not installed
configure: error: udev support requested but libudev header not installed
392 0
No matching configuration of project :libusb was found.
No matching configuration of project :libusb was found.
639 0
configure: error: You requested LIBYUV but not found...die
configure: error: You requested LIBYUV but not found...die
124 0