内核目录中使用 make menuconfig 报错:
[root@mylab 2.6.32-431.el6.i686]# 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
网络搜索解决方法为:sudo: apt-get: command not found
apt是debian(ubuntu)的包管理器
在centos 中提示:sudo: apt-get: command not found
因为在centos中管理软件为yum
使用:
yum install -y ncurses-devel
可解决。
本文出自 “Study” 博客,请务必保留此出处http://wxpan.blog.51cto.com/4861826/1676912
原文地址:http://wxpan.blog.51cto.com/4861826/1676912