linux终端make menuconfig错误解决方法

linux终端错误:Unable to find the ncurses

libraries or the required header files解决

在终端执行make mebuconfig 出现以下错误:

[root@bogon linux-2.6.35.7]# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
 *** 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

 

解决方法:

1)、apt-get的主流Linux系统包括Debian和Ubuntu变异版本

sudo apt-get install ncurses-dev

2)、有yum源的安装

sudo yum install -y ncurses-devel

 

然后就可以用make menuconfig命令来打开菜单设置了:

 

 

 

posted @ 2016-05-04 22:24  夜空中_最亮的星  阅读(3649)  评论(0编辑  收藏  举报