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.

时间: 2024-08-06 11:48:06

CentOS: make menuconfig error: curses.h: No such file or directory的相关文章

编译Busybox时,出现错误fatal error: curses.h: No such file or directory

1 scripts/kconfig/mconf.c: In function ‘exec_conf’: 2 scripts/kconfig/mconf.c:481:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 3 pipe(pipefd); 4 ^ 5 SHIPPED scripts/kconfig/zconf.tab.c 6 SH

curses.h: No such file or directory

嵌入式linux移植时,编译busybox或者内核时使用make menuconfig有时会遇到这个错误 Linux Error: curses.h: No such file or directory 这是因为缺少响应的依赖库 解决方法: CentOS :yum install ncurses-devel ncurses Ubuntu: sudo apt-get install libncurses5-dev libncursesw5-dev

_mysql.c:29:20: error: Python.h: No such file or directory

在Centos系统中安装 pip install MySQL-python 提示: _mysql.c:29:20: error: Python.h: No such file or directory_mysql.c:40:26: error: structmember.h: No such file or directory 解决方法:yum install python-devel #yum install mysql-devel.x86_64 -----------------------

fatal error: rrd.h: No such file or directory

ubuntu安装rrdtool提示rrd.h找不到[email protected]:~/python# pip3 install rrdtoolCollecting rrdtoolDownloading https://files.pythonhosted.org/packages/21/cc/26370aad26cc2384c21717ef8773d1d9a1f8598e87b61fe72f89988370b0/rrdtool-0.1.14.tar.gzComplete output fro

[转]pro*c/c++编译错误 ” error: sqlca.h: No such file or directory “ 的解决办法

$ gcc -o test test.c 出现错误:error: sqlca.h: No such file or directory [解决方法]知道 sqlca.h 在 $ORACLE_HOME/precomp/public/下更正后执行“$ gcc -o test test.c -I $ORACLE_HOME/precomp/public 又出现错误: undefined reference to `sqlcxt' [解决方法]需要用到$ORACLE_HOME/lib/libclntsh.

fatal error: Python.h: No such file or directory 解决

[常见错误] fatal error: Python.h: No such file or directory 环境场景 系统: Parrot Linux软件: 系统python默认版本2.7 PyCharm默认版本Python3.5场景: Build pycrypto-2.6.1 失败提示: building 'Crypto.PublicKey._fastmath' extension x86_64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-p

fatal error: pcre.h: No such file or directory

/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory apt-get update apt-get install libpcre3 libpcre3-dev

plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory

装一台新服务器环境的时候,装uwsgi报错: plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory #include <Python.h> 查了一下解决办法: yum install python-devel.x86_64   之后再运行安装,问题解决.

/usr/include/glib-2.0/glib/gtypes.h:34:24: fatal error: glibconfig.h: No such file or directory

cc -DDEBUG -mtune=core2 -O2 \ -onvideo nvideo.c \ -I/usr/include/atk-1.0 \ -I/usr/include/cairo \ -I/usr/include/gdk-pixbuf-2.0 \ -I/usr/include/glib-2.0 \ -I/usr/include/gtk-3.0 \ -I/usr/include/pango-1.0 \ -I/usr/include/libxml2 \ -I/usr/lib/x86_64