从官网下载VIM包,解压,然后执行./configure --prefix=/usr/local/vim,提示出错信息为:
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.
我的LINUX系统是CENTOS,于是我执行yum search
ncurses来查询下相关的东西,然后我执行sudo yum install
ncurses-devel来安装,然后,再重新安装VIM就成功了。
时间: 2024-10-05 14:15:25