Ubuntu18.04下make menuconfig缺少ncurses库

Posted 阳阳1

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu18.04下make menuconfig缺少ncurses库相关的知识,希望对你有一定的参考价值。

[email protected]:~/work/03-kernel/linux-4.15.1$ make menuconfig
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** ‘make menuconfig‘ requires the ncurses libraries.
 *** 
 *** Install ncurses (ncurses-devel) and try again.
 *** 
scripts/kconfig/Makefile:202: recipe for target ‘scripts/kconfig/dochecklxdialog‘ failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:504: recipe for target ‘menuconfig‘ failed
make: *** [menuconfig] Error 2

输入下面命令安装:

sudo apt-get  install libncurses5-dev

 

以上是关于Ubuntu18.04下make menuconfig缺少ncurses库的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu 18.04配置OpenCV 4.2.0

ubuntu 18.04 64bit如何编译安装内核

ubuntu 18.04 LTS 安装nginx-1.14.0

ubuntu20netplan命令找不到

Ubuntu18.04中配置wxWidget3.0.4开发环境

ubuntu kylin 18.04 安装 Qt Creator 5.11