manuconfig错误 Unable to find the ncurses libraries or the  required header files

帅比萌擦擦* 提交于 2019-12-12 08:00:31

make menuconfig之后错误如下所示:

taozhang@taozhang-virtual-machine:~/share/4412/buildroot/buildroot-2015.05$ make menuconfig
mkdir -p /home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
        obj=/home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config -C support/kconfig -f Makefile.br mconf
make[1]: 正在进入目录 `/home/taozhang/share/4412/buildroot/buildroot-2015.05/support/kconfig'
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 *** 
 *** Install ncurses (ncurses-devel) and try again.
 *** 
make[1]: *** [/home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config/dochecklxdialog] 错误 1
make[1]:正在离开目录 `/home/taozhang/share/4412/buildroot/buildroot-2015.05/support/kconfig'
make: *** [/home/taozhang/share/4412/buildroot/buildroot-2015.05/output/build/buildroot-config/mconf] 错误 2

原因是缺少一个库文件,可以使用如下命令解决:

sudo apt-get install ncurses-dev

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!