0
点赞
收藏
分享

微信扫一扫

安装Mysql 时 ./configure后报错

JamFF 2023-01-15 阅读 46



Redhat系统 安装Mysql 5.1时,   ./configure后报如下错误  

checking for tgetent in -lncursesw... no
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

make && make install  报如下错误
[root@localhost mysql-5.1.57]# make && make install
make: *** No targets specified and no makefile found.  Stop.

 

原因:是缺少ncurses安装包,需要安装

查看一下

yum list|grep ncurses

安装

yum -y install ncurses-devel

 

之后 make && make install  就可以正常安装了!

举报

相关推荐

0 条评论