安装mysql ./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
查看termcap的安装包
[root@XKWB3403 mysql-5.1.56]# rpm -qa |grep termcap
libtermcap-2.0.8-46.1
termcap-5.5-1.20060701.1
libtermcap-2.0.8-46.1
安装termcap开发包
[root@XKWB3403 mysql-5.1.56]# yum install libtermcap-devel -y
检查包的安装情况
[root@XKWB3403 mysql-5.1.56]# rpm -qa |grep termcap
libtermcap-devel-2.0.8-46.1
libtermcap-2.0.8-46.1
libtermcap-devel-2.0.8-46.1
termcap-5.5-1.20060701.1
libtermcap-2.0.8-46.1