Busybox下make menconfig报错处理!

在新安装的ubuntu上装上一个busybox-1.22.1,在配置其时老师报错如下,
In file included from scripts/kconfig/lxdialog/checklist.c:24:0:
scripts/kconfig/lxdialog/dialog.h:31:20: fatal error: curses.h: No such file or directory
compilation terminated.
make[2]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2

网上搜索一番,得出解决方法:
一种是如果您用的是Ubuntu系统 就安装这个包 sudo apt-get install libncurses5-dev
第二种 如果您用的是rhel系列 就安装这个包 ncurses-devel这个包 就可以了

posted @ 2017-07-28 11:41  不明白就去明白  阅读(742)  评论(0编辑  收藏  举报