CentOS 编译vim no terminal library found

下载到VIM8.0源码

./configure 时如果遇到:
[plain] view plain copy
  1. no terminal library found  
  2. checking for tgetent()… configure: error: NOT FOUND!  
  3.       You need to install a terminal library; for example ncurses.  
  4.       Or specify the name of the library with –with-tlib.  

Ubuntu下解决方法:

[plain] view plain copy
  1. sudo apt install libncurses5-dev  

CentOS 下

[plain] view plain copy
  1. yum install ncurses-devel.x86_64 

猜你喜欢

转载自blog.csdn.net/tan88881111/article/details/80104644