加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

liunx下安装mysql,make时 *** No targets specified and no makefile found. stop.

(2012-05-24 15:52:28)
标签:

mysql

error

杂谈

   在自己虚拟机上配置完成,并能运行项目后。把方法整理后交给同事,以为完事了  甚是高兴  不幸 又出现错误  ,原本以下 四步  就可完成安装
# 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 && make install

ok!



0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有