最近在学习imx6ull,参考资料正点原子嵌入式开发。
在移植内核和编译Busybox时,make menuconfig遇到”Unable to find the ncurses libraries or the required header files“.的问题,
*** 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[2]: *** [/home/slz/imx6ull/busybox-1.36.0/scripts/kconfig/lxdialog/Makefile:16: scripts/kconfig/lxdialog/dochecklxdialog] Error 1
make[1]: *** [/home/slz/imx6ull/busybox-1.36.0/scripts/kconfig/Makefile:14: menuconfig] Error 2
make: *** [Makefile:444: menuconfig] Error 2
我去网上搜索资料,最多的结果是安装相关的库:
sudo apt-get install libncurses-dev
sudo apt-get install libncurses5-dev
我把能安装的库都安装了一边,但问题依然存在。