[已解决]'make menuconfig' requires the ncurses libraries
2016-10-10 17:21
501 查看
1. 错误描述
新搭建的build server,编译
kernel时报错:
'make menuconfig' requires the ncurses libraries.
详细的错误信息如下:
ygu@stb-lab-04:/opt/linux/3.14-1.14/rootfs$ make menuconfig-linux make -C linux ARCH=arm menuconfig make[1]: Entering directory `/opt/linux/3.14-1.14/linux' *** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. *** make[2]: *** [scripts/kconfig/dochecklxdialog] Error 1 make[1]: *** [menuconfig] Error 2 make[1]: Leaving directory `/opt/linux/3.14-1.14/linux' make: *** [menuconfig-linux] Error 2
2. 解决办法
这个是新安装系统后编译kernel时最常见的错误。
为什么会出错呢?这跟
ncurses的用途有关。
维基百科上是这么介绍的:
https://en.wikipedia.org/wiki/Ncurses
ncurses (new curses) is a programming library providing an application programming interface (API) that allows the programmer to write text-based user interfaces in a terminal-independent manner. It is a toolkit for developing “GUI-like” application software that runs under a terminal emulator. It also optimizes screen changes, in order to reduce the latency experienced when using remote shells.
简单说来,就是
ncurses在字符终端(
terminal)提供了类
GUI的用户接口,如下:
Ubuntu 14.04上安装
libncurses5-dev包得以解决:
sudo apt-get install libncurses5-dev
相关文章推荐
- 内核编译--make menuconfig 报错make menuconfig' requires the ncurses libraries解决方法
- 【原创】'make menuconfig' requires the ncurses libraries解决办法
- make menuconfig提示'make menuconfig' requires the ncurses libraries解决方法
- make menuconfig提示'make menuconfig' requires the ncurses libraries解决方法
- make menuconfig 提示:'make menuconfig' requires the ncurses libraries的解决方法
- 内核编译--make menuconfig 报错make menuconfig' requires the ncurses libraries解决方法
- 解决 make menuconfig 出现'make menuconfig' requires the ncurses libraries.问题
- 四极管:关于'make menuconfig' requires the ncurses libraries的解决办法和学习
- imx6单独编译内核make menuconfig 提示'make menuconfig' requires the ncurses libraries.
- make menuconfig 出现 Unable to find the Ncurses libraries 问题解决
- make menuconfig提示'make menuconfig' requires the ncurses libraries.
- make menuconfig提示'make menuconfig' requires the ncurses libraries.
- 'make menuconfig' requires the ncurses libraries
- make menuconfig提示'make menuconfig' requires the ncurses libraries.
- 编译linux内核前用make menuconfig设置时 Unable to find the ncurses libraries的解决办法
- make menuconfig时显示error:'make menuconfig' requires the ncurses libraries.
- make menuconfig提示'make menuconfig' requires the ncurses libraries.
- 编译linux内核前用make menuconfig设置时 Unable to find the ncurses libraries的解决办法
- make menuconfig提示'make menuconfig' requires the ncurses libraries.编译3.13.6内核
- 编译内核,make menuconfig 出现以下问题Unable to find the ncurses libraries or the及解决