文章目录

  • 一、报错信息
  • 二、解决方案

一、报错信息


编译 Linux 内核 , 执行

make menuconfig

配置菜单命令 , 报如下错误 :

root@ubuntu:~/kernel/linux-5.6.14# make menuconfigHOSTCC  scripts/basic/fixdep
*
* Unable to find the ncurses package.
* Install ncurses (ncurses-devel or libncurses-dev
* depending on your distribution).
*
* You may also need to install pkg-config to find the
* ncurses installed in a non-default location.
*
scripts/kconfig/Makefile:214: recipe for target 'scripts/kconfig/mconf-cfg' failed
make[1]: *** [scripts/kconfig/mconf-cfg] Error 1
Makefile:568: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
root@ubuntu:~/kernel/linux-5.6.14#

二、解决方案


执行

sudo apt-get install ncurses-dev

命令 , 安装 ncurses ;

安装过程 :

root@ubuntu:~/kernel/linux-5.6.14# sudo apt-get install ncurses-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libncurses5-dev' instead of 'ncurses-dev'
The following additional packages will be installed:libtinfo-dev
Suggested packages:ncurses-doc
The following NEW packages will be installed:libncurses5-dev libtinfo-dev
0 upgraded, 2 newly installed, 0 to remove and 154 not upgraded.
Need to get 252 kB of archives.
After this operation, 1,461 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libtinfo-dev amd64 6.0+20160213-1ubuntu1 [77.4 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libncurses5-dev amd64 6.0+20160213-1ubuntu1 [175 kB]
Fetched 252 kB in 1s (133 kB/s)
Selecting previously unselected package libtinfo-dev:amd64.
(Reading database ... 212109 files and directories currently installed.)
Preparing to unpack .../libtinfo-dev_6.0+20160213-1ubuntu1_amd64.deb ...
Unpacking libtinfo-dev:amd64 (6.0+20160213-1ubuntu1) ...
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../libncurses5-dev_6.0+20160213-1ubuntu1_amd64.deb ...
Unpacking libncurses5-dev:amd64 (6.0+20160213-1ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libtinfo-dev:amd64 (6.0+20160213-1ubuntu1) ...
Setting up libncurses5-dev:amd64 (6.0+20160213-1ubuntu1) ...
root@ubuntu:~/kernel/linux-5.6.14#

【错误记录】编译 Linux 内核报错 ( Unable to find the ncurses package. )相关推荐

  1. 编译linux内核报错‘make menuconfig‘ requires the ncurses libraries

    报错 *** Unable to find the ncurses libraries or the*** required header files.*** 'make menuconfig' re ...

  2. 【错误记录】编译 Linux 内核报错 ( fatal error: openssl/opensslv.h: No such file or directory )

    文章目录 一.报错信息 二.解决方案 一.报错信息 编译 Linux 内核 , 执行 sudo make 命令 , 开始正式编译 Linux 内核 , 报如下错误 : root@ubuntu:~/ke ...

  3. 【错误记录】编译 Linux 内核报错 ( /bin/sh: 1: bison: not found )

    文章目录 一.报错信息 二.解决方案 一.报错信息 编译 Linux 内核 , 执行 make menuconfig 配置菜单命令 , 报如下错误 : root@ubuntu:~/kernel/lin ...

  4. 【错误记录】编译 Linux 内核报错 ( /bin/sh: 1: flex: not found )

    文章目录 一.报错信息 二.解决方案 一.报错信息 编译 Linux 内核 , 执行 make menuconfig 配置菜单命令 , 报如下错误 : root@ubuntu:~/kernel/lin ...

  5. 编译linux内核报错,/bin/sh: 1: flex: not foundscripts/Makefile.host:9: recipe for target ‘scripts/kconfig/

    linux kernel 编译报错,执行make menuconfig,报错如下: HOSTCC  scripts/basic/fixdep   UPD     scripts/kconfig/mco ...

  6. linux 内核 报错,根据epc定位linux内核报错.pdf

    根据epc定位linux内核报错.pdf 韩⼤卫@吉林师范⼤学 2014.12.10 转载请表明出处 ************************************************* ...

  7. linux oracle 失败怎么办,Linux开机报错unable to load selinux policy怎么办?

    Linux在开机的时候提示unable to load selinux policy错误,导致系统无法进入,通常是由2个情况所导致的,下面小编就给大家介绍下Linux开机报错unable to loa ...

  8. 【错误记录】VMware 虚拟机报错 ( 向 VMWare 虚拟机中的 Ubuntu 系统拷贝文件时磁盘空间不足 ② | 删除交换空间 )

    文章目录 一.报错信息 二.解决方案 一.报错信息 在 [错误记录]VMware 虚拟机报错 ( 向 VMWare 虚拟机中的 Ubuntu 系统拷贝文件时磁盘空间不足 ) 博客中 , 给出了解决方案 ...

  9. Linux 编译时查找错误字符,编译Linux内核时出现“fatal error: linux/netfilter/xt_dscp: No such file or directory”...

    编译Linux内核时出现"fatal error: linux/netfilter/xt_dscp: No such file or directory".下面开始查找原因. 第一 ...

  10. 【错误记录】解压 Linux 内核报错 ( Can not create symbolic link : 客户端没有所需的特权 | Windows 中配置 7z 命令行执行解压操作 )

    文章目录 一.报错信息 二.解决方案 一.报错信息 二.解决方案 查看 7zip 软件的安装路径 E:\Program Files\7-Zip , 其中 7z.exe 和 7z.dll 就是执行所需的 ...

最新文章

  1. 远程桌面的分辨率最大不会超过本机真实物理机的分辨率
  2. Ionic 存储目录 CORS
  3. Oracle数据库无法启动解决方法
  4. Asp.net 中使用单独类文件
  5. 收藏一个在线思维导图的制作网站
  6. 基于JavaSpringmvc+myabtis+html的鲜花商城系统设计和实现
  7. c调用python gensim包_Jupyter Notebooks嵌入Excel并使用Python替代VBA宏
  8. 数仓系列 | Flink 窗口的应用与实现
  9. jsp el表达式无法正常显示解决方法
  10. android 印章,android 印章 控件
  11. 类似于wps的linux软件,出了Office、WPS还有哪些好用的办公软件?
  12. 用php打印出日历_php简单日历函数
  13. java开发本科应届生薪资大概是多少?外行人最少15k,25k是人均水平...
  14. 最新《微专业Android安卓开发工程师课程》
  15. sendmail danted
  16. [Layui]JS实现Layui树形表格treetable演示下载
  17. 域用户桌面显示计算机名,用Bginfo设置域客户端桌面显示主机名和IP地址信息
  18. c# 小票机打印二维条码_C# winform小票打印
  19. 分享到QQ空间、新浪微博、腾讯微博和人人网
  20. 从头开始构建Book Recommender引擎并将其部署到Web应用程序

热门文章

  1. Win2008:在 Win2008R2 中安装 PowerShell 4.0 (旧作)
  2. 黑苹果 hackintosh 啰嗦模式
  3. 浅谈JSP的发展历史
  4. 从未改过的网名,一如既往的孤荷凌寒——我的信息技术之路之五
  5. 《重构》一书总结(二)
  6. 面对对象原则:高内聚、低耦合
  7. 图片怎么识别文字?超实用的文字识别技巧分享,分享给你
  8. 使用gihub搭建个人博客
  9. 百度运维部农场,绿色畅想
  10. 跨国面板数据(1960-2020)二:国民核算、经常账户、贸易、fdi、运输旅游、保险金融(stata版)