项目场景:
【openwrt】
openwrt编译,make menuconfig报错recipe for target ‘scripts/config/mconf’ failed
问题描述
openwrt编译,make menuconfig报错recipe for target ‘scripts/config/mconf’ failed
ss@ubuntu:~/openwrt/openwrt$ make menuconfig
make -s -C scripts/config mconf: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what’s going on
/home/ss/openwrt/openwrt/include/toplevel.mk:108: recipe for target ‘scripts/config/mconf’ failed
make: *** [scripts/config/mconf] Error 1
原因分析:
ss@ubuntu:~/openwrt/lede$ make menuconfig -j1 V=sc
make[1]: Entering directory '/home/ss/openwrt/lede/scripts/config'
# cmd_conf_cfg mconf-cflags
/home/ss/openwrt/lede/scripts/config/mconf-cfg.sh ./mconf-cflags ./mconf-libs ./mconf-bin; touch ./mconf-bin
*
* Unable to find the ncurses package.
* Install ncurses (ncurses-devel or libncurses-dev
* depending o