命令行键入make menuconfig配置buildroot失败,提示如下
ad@ad-vm:~/data/tool/buildroot-2024.02.4$ make menuconfig
mkdir -p /home/ad/data/tool/buildroot-2024.02.4/output/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
obj=/home/ad/data/tool/buildroot-2024.02.4/output/build/buildroot-config -C support/kconfig -f Makefile.br mconf
*** 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.
***
make[2]: *** [Makefile:253: /home/ad/data/tool/buildroot-2024.02.4/output/build/buildroot-config/dochecklxdialog] Error 1
make[1]: *** [Makefile:956: /home/ad/data/tool/buildroot-2024.02.4/output/build/buildroot-config/mconf] Error 2
make: *** [Makefile:82: _all] Error 2
安装依赖的软件包以解决:
sudo apt-get install libncurses5-dev libncursesw5-dev
标签:buildroot,ad,2024.02,make,报错,data,tool From: https://blog.csdn.net/starlight_0/article/details/140908738