liunx下安装mysql,make时 *** No targets specified and no makefile found. stop.
(2012-05-24 15:52:28)
标签:
mysqlerror杂谈 |
# 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,,
解决方法如下:
我的系统是RedHat5系列:
yum list|grep ncurses
yum -y install ncurses-devel
yum install ncurses-devel
完成后,重新
ok!