首页 > 其他 > 详细

BUG-Install ncurses (ncurses-devel) and try again.

时间:2019-10-16 18:34:39      阅读:57      评论:0      收藏:0      [点我收藏+]

编译内核的时候出现以下bug:

lyeeer@lyeeer:/usr/src/linux-4.15.0-45$ 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.
 *** 
scripts/kconfig/Makefile:202: recipe for target scripts/kconfig/dochecklxdialog failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:537: recipe for target menuconfig failed
make: *** [menuconfig] Error 2

然后按照提示&百度,很显然通过下面的语句装上这个ncurses库就ok了,但是我大概将这个库反复装了十遍(包括百度里相关的不相关的库装了个遍,只要大家有提到的,我都无脑安装了)

lyeeer@lyeeer:/usr/src/linux-4.15.0-45$ sudo apt-get install libncurses5-dev

装完还是报错,结果试了好多好多次,发现是权限问题。

lyeeer@lyeeer:/usr/src/linux-4.15.0-45$ sudo make menuconfig

这样就ok了。。。长个记性

BUG-Install ncurses (ncurses-devel) and try again.

原文:https://www.cnblogs.com/lyeeer/p/11686632.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!