IMX6 make menuconfig提示'make menuconfig' requires the ncurses libraries 错误

IMX6 make menuconfig提示’make menuconfig’ requires the ncurses libraries 错误

微信公众号:幼儿园的学霸
个人的学习笔记,关于OpenCV,关于机器学习, …。问题或建议,请公众号留言;

这两天在IMX6平台上倒腾MAX9288和MAX96705,涉及到内核编译,在执行make menuconfig时,遇到以下错误:

liheng@liheng:~/IMX6/linux-3.14.52$ make menuconfig 
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 *** 
 *** Install ncurses (ncurses-devel) and try again.
 *** 
/home/liheng/IMX6/linux-3.14.52/scripts/kconfig/Makefile:199: recipe for target 'scripts/kconfig/dochecklxdialog' failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:514: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2

根据提示来说,缺少ncurses libraries,按照网上教程,安装libncurses5-dev即可,但是实际发现,安装完毕之后问题仍然存在,经过搜索,最终解决方案为安装一堆的该库,命令如下:

sudo apt install lib32ncurses5 lib32ncurses5-dev lib32ncursesw5 lib32ncursesw5-dev lib32tinfo-dev lib32tinfo5 libcunit1-ncurses libcunit1-ncurses-dev libncurses5 libncurses5-dbg libncurses5-dev libncursesw5 libncursesw5-dbg libncursesw5-dev

安装完毕之后,再次执行make menuconfig,问题即可解决,熟悉的界面如下:
make menuconfig



下面的是我的公众号二维码图片,欢迎关注。
图注:幼儿园的学霸

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值