make memuconfig的问题:'make menuconfig' requires the ncurses libraries

简介:
  1. 在CentOS6.4版本上下载内核源码编译出现缺乏库的问题:

[root@localhost linux-2.6.32]# make menuconfig

  HOSTCC  scripts/basic/fixdep

  HOSTCC  scripts/basic/docproc

  HOSTCC  scripts/basic/hash

  HOSTCC  scripts/kconfig/conf.o

  HOSTCC  scripts/kconfig/kxgettext.o

 *** 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

2.yum安装ncurses-devel库

@localhost linux-2.6.32]# yum install ncurses-devel

3 虚拟机控制台界面太小,需要调整,出现显示的问题:

[root@localhost linux-2.6.32]# make menuconfig

  HOSTCC  scripts/kconfig/conf.o

  HOSTCC  scripts/kconfig/kxgettext.o

  HOSTCC  scripts/kconfig/lxdialog/checklist.o

  HOSTCC  scripts/kconfig/lxdialog/inputbox.o

  HOSTCC  scripts/kconfig/lxdialog/menubox.o

  HOSTCC  scripts/kconfig/lxdialog/textbox.o

  HOSTCC  scripts/kconfig/lxdialog/util.o

  HOSTCC  scripts/kconfig/lxdialog/yesno.o

  HOSTCC  scripts/kconfig/mconf.o

  SHIPPED scripts/kconfig/zconf.tab.c

  SHIPPED scripts/kconfig/lex.zconf.c

  SHIPPED scripts/kconfig/zconf.hash.c

  HOSTCC  scripts/kconfig/zconf.tab.o

  HOSTLD  scripts/kconfig/mconf

scripts/kconfig/mconf arch/x86/Kconfig

#

# using defaults found in /boot/config-2.6.32-431.el6.x86_64

#

/boot/config-2.6.32-431.el6.x86_64:1869:warning: symbol value 'm' invalid for IWL4965

Your display is too small to run Menuconfig! ---》显示器太小!!!!

It must be at least 19 lines by 80 columns.

make[1]: *** [menuconfig] Error 1

make: *** [menuconfig] Error 2

4 调整控制台的大小





     本文转自fengyuzaitu 51CTO博客,原文链接http://blog.51cto.com/fengyuzaitu/1543447:,如需转载请自行联系原作者

相关文章
|
6月前
|
C++
make的路径搜索
make的路径搜索
24 0
|
9月前
|
Linux
make/makefile的使用
make/makefile的使用
make menuconfig‘ requires the ncurses libraries.
make menuconfig‘ requires the ncurses libraries.
91 0
make[1]: Nothing to be done for `all-am'.
make[1]: Nothing to be done for `all-am'.
141 0
make[1]: Nothing to be done for `all-am'.
make[1]: Nothing to be done for `all-am'.
488 0
|
Unix Shell Linux
./configure、make、make install 命令详解
这些都是典型的使用GNU的AUTOCONF和AUTOMAKE产生的程序的安装步骤 一、基本信息 1、./configure 是用来检测你的安装平台的目标特征的。
3742 0