代码改变世界

Ubuntu 12.04上编译Vim7.4的时候遇到“no terminal library found”问题

2016-01-20 11:26  cascle  阅读(1718)  评论(0)    收藏  举报

错误如下:

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.

 

需要安装libncurses5-dev,但是为了编译AOSP已经先安装了libncurses5-dev:i386,解决办法是先安装libncurses5-dev 后安装 lib32ncurses5-dev,当然旧的lib要删除。安装,删除用apt-get install和apt-get remove即可