*** 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
解决:
安装下面的软件
sudo apt-get install build-essential
sudo apt-get install libncurses5 // 如果是刚装完第一条,这一条常常会不用
sudo apt-get install libncurses5-dev