编译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*

posted @ 2012-09-29 18:00  TechStone  阅读(206)  评论(0编辑  收藏  举报