天天看點

checking for termcap functions library... configure: error: No curses/termcap library foun

mysql版本:5.1.67

這次在./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安裝包

解決辦法:

下載下傳安裝相應軟體包

一、如果你的系統是RedHat系列:

yum list|grep ncurses

yum -y install ncurses-devel

yum install ncurses-devel

二、如果你的系統是Ubuntu或Debian:

apt-cache search ncurses

apt-get install libncurses5-dev -y