CentOS: make menuconfig error: curses.h: No such file or directory

本文解决在CentOS系统中使用yum安装ncurses库时遇到的'no such file or directory'错误,通过安装ncurses-devel和ncurses解决了问题,并在后续的BusyBox或Linux内核配置中成功应用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

the problem  when use centos5 to build kernel or busybox

step 1. Centos中关于 ncurses.h:no such file or directory错误的问题 http://blog.sina.com.cn/s/blog_9f1c09310101a668.html

原因是系统中没有安装ncurses这个库函数,从网上查了个能在Centos上解决这个问题的安装方式:

yum install ncurses-devel ncurses
 
  

step 2. ( skip it if step 1 success.)

  Public key for mysql....rpm is not installed  http://my.oschina.net/u/555639/blog/398377
When I exucute "yum install ncurses-devel ncurses", it shown that: "Public key for  xxx.rpm(I didn't remember the  name) is not installed".Then I excute "rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5" to import the key, then  exucute "yum install ncurses-devel ncurses" again, the tool installed successfully. Then I "make menuconfig" in busybox or linux kernel source code, it works ok.

 

转载于:https://www.cnblogs.com/mylinux/p/5061578.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值