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系統(tǒng)
VPS 默認版本,未裝 MYSQL
發(fā)現是未裝 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