CentOS 編譯vim no terminal library found

下載到VIM8.0源碼

./configure 時如果遇到:
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.

Ubuntu下解決方法:

sudo apt install libncurses5-dev

CentOS 下

yum install ncurses-devel.x86_64
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章