美文网首页
CentOS 7.6 编译vim8.1报错no terminal

CentOS 7.6 编译vim8.1报错no terminal

作者: 狗达Da | 来源:发表于2019-04-29 11:16 被阅读0次

    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

    相关文章

      网友评论

          本文标题:CentOS 7.6 编译vim8.1报错no terminal

          本文链接:https://www.haomeiwen.com/subject/avaenqtx.html