我們在更新CentOS或者Ubuntu的內(nèi)核時(shí)舍败,執(zhí)行make menuconfig可能看如這樣的錯(cuò)誤:
*** Unable to find the ncurses libraries or the
*** required header files.
*** ‘make menuconfig’ requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
解決辦法如下:
1. 安裝ncurses
? ? ? ? ? CentOS:
? ? ? ? ? ? ? ?yum install -y ncurses-devel
? ? ? ?Ubuntu:
? ? ? ? ? ? ? ?sudo apt-get insatll ncurses-dev
? ? ? ? ? ? ? ?或者sudo apt-get install libncurses5-dev
2.切換到root用戶