在自己虚拟机上配置完成,并能运行项目后。把方法整理后交给同事,以为完事了 甚是高兴 不幸 又出现错误 ,原本以下 四步 就可完成安装
# tar –zxvf mysql-5.0.95
# ./configure --prefix=/usr/local/mysql --with-charset=gbk
# make
# make install
但在make的时候 出现
make: *** No targets specified and no makefile found. stop.
仔细查看 ./configure时,报了下边几个错
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for termcap functions library... configure: error: No curses/termcap library found(重点错误)
看错误提示 可知是找不到curses,, 所以是缺少ncurses安装包 造成的
解决方法如下:
我的系统是RedHat5系列:
yum list|grep ncurses
yum -y install ncurses-devel
yum install ncurses-devel
完成后,重新 ./configure --prefix=/usr/local/mysql --with-charset=gbk,make &&
# tar –zxvf mysql-5.0.95
# ./configure --prefix=/usr/local/mysql --with-charset=gbk
# make
# make install
但在make的时候 出现
make: *** No targets specified and no makefile found. stop.
仔细查看 ./configure时,报了下边几个错
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for termcap functions library... configure: error: No curses/termcap library found(重点错误)
看错误提示 可知是找不到curses,, 所以是缺少ncurses安装包 造成的
解决方法如下:
我的系统是RedHat5系列:
yum list|grep ncurses
yum -y install ncurses-devel
yum install ncurses-devel
完成后,重新 ./configure --prefix=/usr/local/mysql --with-charset=gbk,make &&