编译安装VIM:no terminal library found错误
由于需要VIM的gdb调试功能,因此选择了编译源文件的安装方式,简单的配置后,开始编译,但是却出现了下面的错误:
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lcurses... no
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.
提示没有terminal library,那我们就安装一个terminal library吧,提示中举例的terminal library为ncurses,那我们就安装这个吧,指令如下:
apt-get install libncurses5-dev

浙公网安备 33010602011771号