CentOS 7.6 编译vim8.1报错no terminal

2019-04-29  本文已影响0人  狗达Da

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.

vim8.1报错

开始想着直接加上这个参数一起编译
--with-tlib=ncursesw 强制VIM链接到libncursew
结果发现还是找不到ncurses

解决办法:

CentOS
yum install -y ncurses-devel.x86_64

Ubuntu
sudo apt install -y libncurses5-dev

上一篇 下一篇

猜你喜欢

热点阅读