升级CentOS遇到Unable to find the ncurses libraries or the required header files错误
来源:互联网 发布:免费查海关数据的网站 编辑:程序博客网 时间:2024/06/05 02:13
昨天的文章,在有的entOS机器上执行遇到了问题:
[root@YZSJHL64-200 linux-3.11.4]# make mrproper
[root@YZSJHL64-200 linux-3.11.4]# cp /boot/config-* /usr/src/kernels/
[root@YZSJHL64-200 linux-3.11.4]# make menuconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.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
此时,需要执行yum install -y ncurses-devel
[root@YZSJHL64-200 ~]# yum install -y ncurses-devel
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ncurses-devel.x86_64 0:5.7-3.20090208.el6 will be installed
--> Finished Dependency Resolution
Install 1 Package(s)
Total download size: 642 k
Installed size: 1.7 M
Downloading Packages:
ncurses-devel-5.7-3.20090208.el6.x86_64.rpm | 642 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ncurses-devel-5.7-3.20090208.el6.x86_64 1/1
Verifying : ncurses-devel-5.7-3.20090208.el6.x86_64 1/1
Installed:
ncurses-devel.x86_64 0:5.7-3.20090208.el6
Complete!
[root@YZSJHL64-200 ~]#
再次执行,make menuconfig成功,
[root@YZSJHL64-200 linux-3.11.4]# make menuconfig
HOSTCC scripts/kconfig/conf.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/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig
#
# using defaults found in /boot/config-2.6.32-358.2.1.el6.x86_64
如果是在Ubuntu下遇到这个问题,执行:
sudo apt-get insatll ncurses-dev.
- 升级CentOS遇到Unable to find the ncurses libraries or the required header files错误
- linux之Unable to find the ncurses libraries or the required header files.错误解决办法
- linux终端错误:Unable to find the ncurses libraries or the required header files
- Unable to find the ncurses libraries or the required header files解决
- ubuntu:Unable to find the ncurses libraries or the required header files解决办法
- Ubuntu 12.04 make menuconfig 出现 Unable to find the ncurses libraries or the required header files.
- ubuntu编译linux内核出现 Unable to find the ncurses libraries or the required header files.
- Unable to find the ncurses libraries or the required header files解决
- 执行make menucofig发生错误“Unable to find the ncurses libraries or the required header files”的解决方法
- 执行make menucofig发生错误“Unable to find the ncurses libraries or the required header files”的解决方法
- make menuconfig *** Unable to find the ncurses libraries *** required header files.
- 解决错误:unable to find the ncurses libraries
- make menuconfig错误Unable to find the ncurses libraries
- Unable to find the ncurses libraries
- Unable to find the Ncurses libraries.
- s5pv210开发板Unable to find the ncurses libraries or the解决办法
- 在内核编译时出现Unable to find the ncurses libraries or the
- [6]_编译内核错误提示1:Unable to find the ncurses libraries or the 和 E: Unable to locate package ncurse
- eclipse的操作
- [LeetCode]Gas Station
- 闪回删除和管理回收站
- Android 滑动效果进阶篇(六)—— 倒影效果
- Restlet 输出日志说明
- 升级CentOS遇到Unable to find the ncurses libraries or the required header files错误
- jquery选择器之层次选择器
- [LeetCode]Clone Graph
- perl 中的散列作为多维数组、结构体使用
- linux 管道(linux Pipe与named Pipe)
- 游标对于分页存储过程
- Android 滑动效果高级篇(七)—— 华丽翻页效果
- mongodb shell 无法删除问题
- mj评-《地心引力》8分