安装Mysql 5.1.62 编译报错 error: No curses/termcap library found

系统环境:

# cat /etc/redhat-release 

CentOS release 6.5 (Final)

# uname -r

2.6.32-431.el6.x86_64

# uname -m

x86_64

Mysql版本:

mysql-5.1.62

在./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

经过网上搜索,是缺少ncurses安装包的原因:

yum -y install ncurses-devel

安装完成后再进行,顺利通过。

你可能感兴趣的:(mysql,No,error:,编译报错,curses/termcap,5.1.62)