标题: [求助] 无法编译安装 MYSQL ,继续求助, [打印本页] 作者: tibbs 时间: 2012-10-15 20:40 标题: 无法编译安装 MYSQL ,继续求助,
本帖最后由 tibbs 于 2012-10-15 21:01 编辑
installing mysql...
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
configure: error: in `/root/lanmp/mysql-5.1.63':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
checking for cl.exe... no
----Install Error: mysql configure err -----------
大便6.0系统
VPS 默认版本,未装 MYSQL
发现是未装 GCC 等
apt-get install build-essential
上面问题解决可是出现下面问题
../cmd-line-utils/libedit/libedit.a(terminal.o): In function `terminal_move_to_line':
/root/lanmp/mysql-5.1.63/cmd-line-utils/libedit/terminal.c:519: undefined reference to `tgoto'
/root/lanmp/mysql-5.1.63/cmd-line-utils/libedit/terminal.c:532: undefined reference to `tgoto'
collect2: ld returned 1 exit status
make[2]: *** [mysql] Error 1
make[2]: Leaving directory `/root/lanmp/mysql-5.1.63/client'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/lanmp/mysql-5.1.63/client'
make: *** [all-recursive] Error 1