编译内核-make config时分报错

编译内核----make config时候报错

在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.
 ***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2

 

执行如下命令 

apt-get install libncurses*