menuconfig Linux Error: curses.h: No such file or directory Problem Solution
2010-05-17 17:29
483 查看
Linux Error: curses.h: No such file or directory Problem Solution
by Vivek Gite · 1 commentQ. I see following error when I run make command to install specific software:
curses.h: No such file or directory Problem Solution
How do I fix this error under Red Hat Enterprise Linux (RHEL) or CentOS / Fedora Linux?
A.. You need to install the curses library which include routines for a terminal-independent method of updating character screens with reasonable optimization. The ncurses (new curses) library is a freely distributable replacement for the
discontinued 4.4 BSD classic curses library.
Fix this error under RHEL / Fedora / CentOS Linux
Type the following command at a shell prompt as root user:# yum install ncurses-devel ncurses
Sample output:
Loading "downloadonly" plugin Loading "rhnplugin" plugin Loading "security" plugin rhel-x86_64-server-vt-5 100% |=========================| 1.2 kB 00:00 rhel-x86_64-server-5 100% |=========================| 1.2 kB 00:00 Setting up Install Process Parsing package install arguments Package ncurses - 5.5-24.20060715.x86_64 is already installed. Package ncurses - 5.5-24.20060715.i386 is already installed. Resolving Dependencies --> Running transaction check ---> Package ncurses-devel.x86_64 0:5.5-24.20060715 set to be updated ---> Package ncurses-devel.i386 0:5.5-24.20060715 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: ncurses-devel x86_64 5.5-24.20060715 rhel-x86_64-server-5 1.7 M ncurses-devel i386 5.5-24.20060715 rhel-x86_64-server-5 1.6 M Transaction Summary ============================================================================= Install 2 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 3.3 M Is this ok [y/N]: y Downloading Packages: (1/2): ncurses-devel-5.5- 100% |=========================| 1.6 MB 00:01 (2/2): ncurses-devel-5.5- 100% |=========================| 1.7 MB 00:01 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: ncurses-devel ######################### [1/2] Installing: ncurses-devel ######################### [2/2] Installed: ncurses-devel.x86_64 0:5.5-24.20060715 ncurses-devel.i386 0:5.5-24.20060715 Complete!
Fix this error under Debian / Ubuntu Linux
Open terminal and type the following command to install ncurses:$ sudo apt-get install libncurses5-dev libncursesw5-dev
相关文章推荐
- menuconfig Linux Error: curses.h: No such file or directory Problem Solution
- CentOS: make menuconfig error: curses.h: No such file or directory
- Linux 内核编译:配置内核make menuconfig 出错:curses.h:No such file or directory
- RHEL5 make menuconfig 出现 error: curses.h: No such file or directory的解决方法
- 解决 Linux error while loading shared libraries: cannot open shared object file: No such file or directory
- scripts/kconfig/lxdialog/dialog.h:38:20: fatal error: curses.h: No such file or directory
- 一种编译错误的解决办法。/usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
- 解决Linux: error while loading shared libraries: ...: cannot open shared object file: No such file or directory 类似问题
- 编译Busybox时,出现错误fatal error: curses.h: No such file or directory
- linux_Problem when trying to run shell script : No such file or directory
- python下安装模块报错:psutil/_psutil_linux.c:12:20: fatal error: Python.h: No such file or directory
- linux/errno.h: No such file or directory (kernel compile error)
- scripts/kconfig/lxdialog/dialog.h:26:20: fatal error: curses.h: No such file or directory
- 编译Busybox时,出现错误fatal error: curses.h: No such file or directory
- Linux下修复“fatal error: jsoncpp/json/json.h: No such file or directory”
- win7编译apk时候报错arm-linux-androideabi-g++.exe: error: CreateProcess: No such file or directory
- arm-linux-androideabi-g++.exe: error: CreateProcess: No such file or directory
- 【error】No such file or directory apu-1-config apr-1-config
- fatal error: linux/compiler-gcc6.h: No such file or directory
- caffe编译:fatal error: pyconfig.h: No such file or directory #include "pyconfig.h"