码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-12-20 20:56:03      阅读:193      评论:0      收藏:0      [点我收藏+]

标签:

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.

 

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

标签:

原文地址:http://www.cnblogs.com/mylinux/p/5061578.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!