码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu上make menuconfig出错

时间:2018-05-16 20:45:27      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:log   开发   curses   The   出现   编译   方法   make   就会   

   如果使用make menuconfig的方式配置内核,又碰巧系统没有安装ncurses库(ubuntu系统
默认就没有安装此库),就会出现错误,错误信息大体上如下:

*** 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[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2


解决方法很简单,安装ncurses库即可,ubuntu/debian系统可采用如下命令进行安装:

$sudo apt-get install libncurses5-dev

ncurses库是字符终端下屏幕控制的基本库,可能很多新开发的程序都不使用了,不过
如果要编译一些老程序,还经常用到。

ubuntu上make menuconfig出错

标签:log   开发   curses   The   出现   编译   方法   make   就会   

原文地址:https://www.cnblogs.com/ylsm-kb/p/9047723.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!