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,成功进来了