![Ubuntu 12.04上编译Vim7.4的时候遇到“no terminal library found”问题 Ubuntu 12.04上编译Vim7.4的时候遇到“no terminal library found”问题](https://image.shishitao.com:8440/aHR0cHM6Ly9ia3FzaW1nLmlrYWZhbi5jb20vdXBsb2FkL2NoYXRncHQtcy5wbmc%2FIQ%3D%3D.png?!?w=700&webp=1)
错误如下:
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即可