1. 程式人生 > >Unable to find the ncurses libraries的解決辦法

Unable to find the ncurses libraries的解決辦法

我們在更新CentOS或者Ubuntu的核心時,執行make menuconfig可能看如這樣的錯誤:

*** Unable to find the ncurses libraries or the
*** required header files.
*** ‘make menuconfig’ requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.

解決辦法如下:
CentOS:
yum install -y ncurses-devel

Ubuntu:
sudo apt-get insatll ncurses-dev