您的位置:首页 > 运维架构 > Linux

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

2015-12-20 19:07 585 查看
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

[b]  [/b]
step 2. ( skip it if step 1 success.)

Public key for mysql....rpm is not installed /article/2218269.html
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: