当前位置: 技术问答>linux和unix
fedora安装mysql问题
来源: 互联网 发布时间:2016-11-20
本文导语: [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/i...
[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.
高手看下怎么回事?
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++
-----------------
你没有安装c编译器 也就是说你没装gcc
yum -y install gcc gcc-c++
|
好像最基本的开发工具都没装,用安装光盘把开发工具都装上吧