1. 程式人生 > >Ubuntu18.04下make menuconfig缺少ncurses庫

Ubuntu18.04下make menuconfig缺少ncurses庫

The files requires *** ubunt install span bsp clas

kent@hu:~/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庫