make menuconfig 出错解决

问题:

hank@hank-virtual-machine:/opt/Emb/linux-2.6.30.4$ sudo 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
hank@hank-virtual-machine:/opt/Emb/linux-2.6.30.4$

解决:

sudo apt-get install libncurses5-dev

原文地址:https://www.cnblogs.com/yemeng/p/3404723.html