在配置内核时输入:make menuconfig

ChunerGG 2016-10-18 02:00:21

得到如下错误提示

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] Error 1
make: *** [menuconfig] Error 2
[root@localhost linux-2.6.29]#

去网上搜寻答案后得到如下几种:
1 输入: yum install -y make
yum install -y ncurses-devel
得到如下错误提示
Loading "rhnplugin" plugin
Loading "security" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: ncurses-devel
Nothing to do

2 输入:sudo apt-get install libncurses5-dev
得到如下错误
sudo: apt-get: command not found

3 输入: apt-get install libncurses*
得到如下错误
sudo: apt-get: command not found

有高手帮忙吗?
...全文
617 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
apple_v1 2016-10-18
  • 打赏
  • 举报
回复
目测你用的是redhat而且没有注册
糊涂的小白 2016-10-18
  • 打赏
  • 举报
回复
yum update
yum search ncurses

4,436

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧