内核目录中使用 make menuconfig 报错:
[[email protected] 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
可解决。
时间: 2024-10-27 06:46:51