make menuconfig时出现致命错误:fatal error: curses.h: 没有那个文件或目录
2017-01-16 00:00
603 查看
执行make menuconfig时出现如下错误
# make menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:0:
scripts/kconfig/lxdialog/dialog.h:31:20: fatal error: curses.h: 没有那个文件或目录
compilation terminated.
make[2]: *** [scripts/kconfig/lxdialog/checklist.o] 错误 1
make[1]: *** [menuconfig] 错误 2
make: *** [menuconfig] 错误 2
这时因为系统中缺少一个套件 ncurses devel ,把此套件安装下即可
yum -y install ncurses-dev
# make menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:0:
scripts/kconfig/lxdialog/dialog.h:31:20: fatal error: curses.h: 没有那个文件或目录
compilation terminated.
make[2]: *** [scripts/kconfig/lxdialog/checklist.o] 错误 1
make[1]: *** [menuconfig] 错误 2
make: *** [menuconfig] 错误 2
这时因为系统中缺少一个套件 ncurses devel ,把此套件安装下即可
yum -y install ncurses-dev
相关文章推荐
- utbutu16.10 安装pyaudio模块过程出现错误 fatal error: portaudio.h: 没有那个文件或目录 error: command 'x86_64-linux-gn
- pip安装mysql-python报致命错误:my_config.h:没有那个文件或目录
- fatal error: curses.h: 没有那个文件或目录
- 【Error】Python安装gevent时出错:“致命错误: Python.h:没有那个文件或目录”
- pip安装mysql-python报致命错误:my_config.h:没有那个文件或目录
- 64位Ubuntu14.04编译busybox: fatal error: curses.h:没有那个文件或目录
- ubuntu14.04下编译busybox出现fatal error: curses.h: 没有那个文件或目录错误
- 安装mysql-python报致命错误:my_config.h:没有那个文件或目录
- ubuntu下安装lua的时候出现 lua.c:80:31: fatal error: readline/readline.h: 没有那个文件或目录 这样的报错
- 解决ubuntu下编译安装Lua时提示lua.c:80:31: fatal error: readline/readline.h: 没有那个文件或目录
- python错误汇总3:libxslt/xsltconfig.h:没有那个文件或目录
- caffe 编译中出现的错误——fatal error: hdf5.h: 没有那个文件或目录
- fatal error: GL/glew.h: 没有那个文件或目录
- gcc: 错误:pkg-config --cflags --libs gtk+-2.0:没有那个文件或目录
- 致命错误: mysql.h:没有那个文件或目录
- python 2.7安装某些包出现错误:"libxml/xmlversion.h:没有那个文件或目录"
- Ubuntu安装git时出错,git-compat-util.h:280:25: fatal error: openssl/ssl.h: 没有那个文件或目录
- “fatal error: hdf5.h: 没有那个文件或目录”解决方法
- 致命错误: mysql/mysql.h:没有那个文件或目录 解决办法
- caffe 编译中出现的错误——fatal error: hdf5.h: 没有那个文件或目录