make menuconfig错误的解决办法

来源:互联网 发布:nginx 域名指向目录 编辑:程序博客网 时间:2024/04/30 21:42
如果使用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 1make: *** [menuconfig] Error 2moran@linux:解决方法很简单,安装ncurses库即可,ubuntu/debian系统可采用如下命令进行安装:$sudo apt-get install libncurses5-dev
ncurses库是字符终端下屏幕控制的基本库,可能很多新开发的程序都不使用了,不过
如果要编译一些老程序,还经常用到。
0 0
原创粉丝点击