日期:2014-05-16  浏览次数:20688 次

fedora安装mysql问题
[root@localhost mysql-5.1.55]# ./configure --prefix=/usr/local/mysql5
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
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 `/opt/mysqlsoftware/mysql-5.1.55':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

高手看下怎么回事?

------解决方案--------------------
configure: error: no acceptable C compiler found in $PATH
-----------------
你没有安装c编译器 也就是说你没装gcc

yum -y install gcc gcc-c++
------解决方案--------------------
探讨
configure: error: no acceptable C compiler found in $PATH
-----------------
你没有安装c编译器 也就是说你没装gcc

yum -y install gcc gcc-c++