no terminal library found checking for tgetent()… configure: error: NOT FOUND! You need to install a terminal library; for example ncurses. Or specify the name of the library with –with-tlib.
ncurses是一个比较老的库
解决方法:
sudo apt-get install libncurses5-dev