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

时间:2023-03-09 05:58:38
Ubuntu 12.04上编译Vim7.4的时候遇到“no terminal library found”问题

错误如下:

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即可