友情提示:本站最近进行了改版升级,如出现显示异常,请刷新页面或清除一下缓存!

  最近刚安装了Ubuntu 12.04 LTS版本,今天又在折腾安装VIM,由于需要VIM的gdb调试功能,因此选择了编译源文件的安装方式,简单的配置后,开始编译,但是却出现了下面的错误:

checking –with-tlib argument… empty: automatic terminal library selection
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,那我们就安装这个吧,指令如下:

sudo apt-get install libncurses5-dev

  如果没法安装,那你得检查下你的软件源设置和网络连接了~~~

转载请注明:Coding Ants » Linux中编译安装VIM:no terminal library found错误解决办法

相关文章

1访客评论

  1. Thanks!

    flaco07-05 09:42 回复

我来说说

(便于我们更好的交流)

没有交流就没有进步,在此输入您对本文的看法!
取消