下载myqsl源码包,上mysql官网下载
http://www.mysql.com/downloads/mirror.php?id=403104#mirrors
解包编译
tar xvzf mysql-5.1.56.tar.gz
cd mysql-5.1.56
configure: error: No curses/termcap library found
解决方法
安装 ncurses-devel-5.5-24.20060715.i386.rpm
解决方法
就在./configure之前执行,以前三个命令
autoreconf --force --install
libtoolize --automake --force
automake --force --add-missing
如果在执行autoreconf --force --install时出现问题configure.in:14: error: possibly undefined macro: AC_PROG_LIBTOOL
需要yum install libtool
再次执行那三个命令,再进行编译!
http://www.mysql.com/downloads/mirror.php?id=403104#mirrors
解包编译
tar xvzf mysql-5.1.56.tar.gz
cd mysql-5.1.56
./configure -prefix=/home/mysql
configure: error: No curses/termcap library found
解决方法
安装 ncurses-devel-5.5-24.20060715.i386.rpm
继续编译,又出现问题:
解决方法
就在./configure之前执行,以前三个命令
autoreconf --force --install
libtoolize --automake --force
automake --force --add-missing
如果在执行autoreconf --force --install时出现问题configure.in:14: error: possibly undefined macro: AC_PROG_LIBTOOL
需要yum install libtool
再次执行那三个命令,再进行编译!