Linux内核或者u-boot进行make menuconfig的时候,如果系统上没有安装ncurses,就会出现以下报错

 *** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel or libncurses-dev
*** depending on your distribution) and try again.
***
scripts/kconfig/Makefile:229: recipe for target 'scripts/kconfig/dochecklxdialog' failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:503: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2

解决方案:

sudo apt-get install libncurses5-dev

关于ncurses

libncurses这些库是基于系统用来在显示器上显示文本. 一个例子就是,ncurses用在内核的"make menuconfig"进程中。

libform
在ncurses中使用表格;

libmenu* 在ncurses中使用菜单;

libpanel*在ncurses中使用面板。

Ncurses 依赖于: Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed.

最新文章

  1. Android -- Apk安装简诉
  2. C++网络编程 Java网络编程
  3. LINUX调优
  4. 将Excel导入数据库
  5. Json.Net 使用属性定义日期的序列化格式
  6. 二进制程序分析工具Pin在Windows系统中的安装和使用方法
  7. 【转】使用DevExpress的WebChartControl控件绘制图表(柱状图、折线图、饼图)
  8. 使用LAMP创建基于wordpress的个从博客站点
  9. pygame系列_draw游戏画图
  10. android 6.0获取权限
  11. JVM常用启动参数
  12. form提交地址地址正确但是依旧报错404找不到路径
  13. XML中文乱码问题
  14. BugKu 这是一张单纯的图片
  15. C++(3):./Encryptor: undefined symbol:Z11startserviceLAKJDFLJALDKJFLLLLL
  16. SPOJ GSS3 (动态dp)
  17. Linux下查找进程id并强制停止进程的脚本
  18. poj1038 Bugs Integrated,Inc. (状压dp)
  19. 解决html5 audio iphone,ipd,safari不能自动播放问题
  20. 基于机器学习人脸识别face recognition具体的算法和原理

热门文章

  1. 微信小程序 —搜索框
  2. windows批处理protoc生成C++代码
  3. bugku ctf 逆向题
  4. 最简单的懒人springcloud之Eureka(服务注册与发现)
  5. Pytorch实现的语义分割器
  6. Mysql列属性
  7. 立体匹配-----NCC视差匹配
  8. 杂园日记-获取URL参数
  9. 线上Bug无法复现怎么办?老司机教你一招,SpringBoot远程调试不用愁!
  10. sql注入 pikachu