分类: LINUX
2011-08-09 19:55:32
[root@localhost linux-2.6.29]# make menuconfig
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] Error 1
make: *** [menuconfig] Error 2
[root@localhost gy]# rpm -qa | grep ncurses
ncurses-5.5-24.20060715
正如提示所说,缺少了:ncurses-devel包
注意下载的包要与ncurses-5.5-24.20060715想对应,否则安装后无效!!!去这个地址下载:ncurses-devel-5.5-24.20060715.i386.rpm
http://www.filewatcher.com/m/ncurses-devel-5.5-24.20060715.i386.rpm.1709697.0.0.html
然后安装此包:
[root@localhost 4-3-1]# rpm -ivh ncurses-devel-5.5-24.20060715.i386.rpm
warning: ncurses-devel-5.5-24.20060715.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing... ########################################### [100%]
1:ncurses-devel ########################################### [100%]
[root@localhost linux-2.6.29]# rpm -qa | grep ncurse
ncurses-devel-5.5-24.20060715
ncurses-5.5-24.20060715
[root@localhost linux-2.6.29]# make menuconfig
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf arch/arm/Kconfig
可以进入配置界面了…