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

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.

 

posted @ 2015-12-20 19:07  oucaijun  阅读(1140)  评论(0编辑  收藏  举报
下载TeamViewer完整版 下载TeamViewer