安裝git-4.3.20時出現的異常

在Cent OS下安裝git-4.3.20時出現下面的錯誤: git

執行tar -zxvf後./configure時的異常: terminal

checking for tgetent in -ltermcap... no
checking for tgetent in -lncurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltinfo... no
checking for tgetent in -lterminfo... no
configure: error: no library for handling terminal capabilities
get


解決方法是:安裝ncurses-devel包。

我直接:#yum -y install ncurses-devel it

安裝完成後就能夠正常./configure了。 方法

相關文章
相關標籤/搜索