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.
开始想着直接加上这个参数一起编译
--with-tlib=ncursesw 强制VIM链接到libncursew
结果发现还是找不到ncurses
解决办法:
CentOS
yum install -y ncurses-devel.x86_64
Ubuntu
sudo apt install -y libncurses5-dev
网友评论