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