编译linux内核make menuconfig报 'make menuconfig' requires the ncurses libraries 等错误

编译linux内核make menuconfig报 'make menuconfig' requires the ncurses libraries 等错误

转载自:http://blog.csdn.net/zyxlinux888/article/details/6593647

环境:ubuntu 10.10;

Problem:

在ubuntu 10.10下编译linux内核出现如下错误:

zyx@zyx:/$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] 错误 1
make: *** [menuconfig] 错误 2

 

Solution:

sudo apt-get install libcurses dev

OR

sudo apt-get install libncurses*

原文地址:https://www.cnblogs.com/techstone/p/2761783.html