make menuconfig的ncurses处理

问题:
使用make menuconfig命令,显示如下错误:

[root@MiWiFi-R3-srv linux-3.5]# 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


解决办法:
是因为缺少ncruses libraries,也就是缺少交叉编译库。
linux环境为centos,yum安装nucrses lib
[root@MiWiFi-R3-srv linux-3.5]# yum -y install ncurses-devel

安装过程:
已加载插件:fastestmirror, refresh-packagekit, security
设置安装进程

.
.
.
正在安装: ncurses-devel-5.7-4.20090207.el6.i6861/1
Verifying: ncurses-devel-5.7-4.20090207.el6.i6861/1

已安装:
ncurses-devel.i686 0:5.7-4.20090207.el6

完毕!


^^^
安装完成
执行make menuconfig
[root@MiWiFi-R3-srv linux-3.5]# make menuconfig
HOSTCCscripts/kconfig/conf.o
HOSTCCscripts/kconfig/lxdialog/checklist.o
HOSTCCscripts/kconfig/lxdialog/inputbox.o
HOSTCCscripts/kconfig/lxdialog/menubox.o
HOSTCCscripts/kconfig/lxdialog/textbox.o
HOSTCCscripts/kconfig/lxdialog/util.o
HOSTCCscripts/kconfig/lxdialog/yesno.o
HOSTCCscripts/kconfig/mconf.o
HOSTCCscripts/kconfig/zconf.tab.o
HOSTLDscripts/kconfig/mconf
scripts/kconfig/mconf Kconfig



如图,搞定:
make menuconfig的ncurses处理
文章图片




【make menuconfig的ncurses处理】

    推荐阅读