1.1 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.

解决办法如下:

1. 安装ncurses

          CentOS:

               yum install -y ncurses-devel

       Ubuntu:

               sudo apt-get insatll ncurses-dev

               或者sudo apt-get install libncurses5-dev

2.切换到root用户

你可能感兴趣的:(1.1 Unable to find the ncurses libraries)