Fedora32 kernel源码包安装升级过程遇到的问题

kernel源码安装过程在上一篇文章中Fedora32 kernel源码包安装升级 从linux-5.6.6升到linux-5.8.7

问题不是按kernel的安装顺序写的,所有问题都是从操作记录中摘抄出来的,请针对问题内容查看解决处理方法

问题一:

Unable to find the ncurses package.
* Install ncurses (ncurses-devel or libncurses-dev

* You may also need to install pkg-config to find the
* ncurses installed in a non-default location.

[root@Fedora32 linux-5.8.7]# make O=/home/demo_accout/build/kernel/ menuconfig
make[1]: Entering directory '/home/demo_accout/build/kernel'
  GEN     Makefile
  HOSTCC  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.
*
make[2]: *** [/home/demo_accout/linux-5.8.7/scripts/kconfig/Makefile:214: scripts/kconfig/mconf-cfg] Error 1
make[1]: *** [/home/demo_accout/linux-5.8.7/Makefile:606: menuconfig] Error 2
make[1]: Leaving directory '/home/demo_accout/build/kernel'
make: *** [Makefile:185: __sub-make] Error 2

解决:

这里提示了缺少ncurses库文件,我们只要安装一个就可以了。问题和答案都写出来的,这样是很容易的。

[root@Fedora32 linux-5.8.7]# dnf install ncurses-devel

问题二:

<
  • 1
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值