Buildroot运行make menuconfig时报错:Unable to find the ncurses libraries(如何打开 Buildroot 配置界面?)
Posted Dontla
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Buildroot运行make menuconfig时报错:Unable to find the ncurses libraries(如何打开 Buildroot 配置界面?)相关的知识,希望对你有一定的参考价值。
Unable to find the ncurses libraries or the required header files. required header files. ‘make menuconfig’ requires the ncurses libraries. Install ncurses (ncurses-devel) and try again.
[root@ubuntu /home/yg/rv/sdk/rv1.8/rv1126_rv1109/buildroot]1# make menuconfig
mkdir -p /home/yg/rv/sdk/rv1.8/rv1126_rv1109/buildroot/output/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \\
obj=/home/yg/rv/sdk/rv1.8/rv1126_rv1109/buildroot/output/build/buildroot-config -C support/kconfig -f Makefile.br mconf
make[1]: Entering directory '/home/yg/rv/sdk/rv1.8/rv1126_rv1109/buildroot/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.
***
Makefile:199: recipe for target '/home/yg/rv/sdk/rv1.8/rv1126_rv1109/buildroot/output/build/buildroot-config/dochecklxdialog' failed
make[1]: *** [/home/yg/rv/sdk/rv1.8/rv1126_rv1109/buildroot/output/build/buildroot-config/dochecklxdialog] Error 1
make[1]: Leaving directory '/home/yg/rv/sdk/rv1.8/rv1126_rv1109/buildroot/support/kconfig'
Makefile:889: recipe for target '/home/yg/rv/sdk/rv1.8/rv1126_rv1109/buildroot/output/build/buildroot-config/mconf' failed
make: *** [/home/yg/rv/sdk/rv1.8/rv1126_rv1109/buildroot/output/build/buildroot-config/mconf] Error 2
那是因为我们有东西没安装,
ubuntu 16.04下终端运行:
sudo apt-get update
sudo apt-get install ncurses-dev
然后再运行make menuconfig,成功进来了
以上是关于Buildroot运行make menuconfig时报错:Unable to find the ncurses libraries(如何打开 Buildroot 配置界面?)的主要内容,如果未能解决你的问题,请参考以下文章