首页 > 代码库 > Linux安装内核错误

Linux安装内核错误

  遇到编译内核时出现以下错误:

 1 #    patchutils is needed by kernel-2.6.32-431.29.2.el6.x86_64
 2 #    xmlto is needed by kernel-2.6.32-431.29.2.el6.x86_64
 3 #    asciidoc is needed by kernel-2.6.32-431.29.2.el6.x86_64
 4 #    elfutils-libelf-devel is needed by kernel-2.6.32-431.29.2.el6.x86_64
 5 #    elfutils-devel is needed by kernel-2.6.32-431.29.2.el6.x86_64
 6 #    zlib-devel is needed by kernel-2.6.32-431.29.2.el6.x86_64
 7 #    binutils-devel is needed by kernel-2.6.32-431.29.2.el6.x86_64
 8 #    newt-devel is needed by kernel-2.6.32-431.29.2.el6.x86_64
 9 #    python-devel is needed by kernel-2.6.32-431.29.2.el6.x86_64
10 #    audit-libs-devel is needed by kernel-2.6.32-431.29.2.el6.x86_64
11 #    perl(ExtUtils::Embed) is needed by kernel-2.6.32-431.29.2.el6.x86_64
12 #    bison is needed by kernel-2.6.32-431.29.2.el6.x86_64
13 #    flex is needed by kernel-2.6.32-431.29.2.el6.x86_64
14 #    hmaccalc is needed by kernel-2.6.32-431.29.2.el6.x86_64

  解决方法:

    什么被需要就:yum install 什么

    特别的:

    perl(ExtUtils::Embed):

    yum install perl-ExtUtils-Embed



   

Linux安装内核错误