在树莓派上面编译VIM 的时候,提示找不到 tgetent()
|
./configure --with-features=huge \ --enable-cscope \ --enable-multibyte \ --enable-xim \ --enable-fontset \ --enable-gui=gnome2 |
就总是提示错误:
|
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. |
解决方法
安装ncurses-dev
|
$ sudo apt-get install ncurses-dev |