Unable to find the ncurses libraries or the required header files.的解决办法

我们在更新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

posted @ 2013-09-05 09:55  总是TMD后知后觉  阅读(532)  评论(0)    收藏  举报