首页 > 系统服务 > 详细

redhat 6.4 安装VirtualBox自动增强功能功:unable to find the sources of your current Linux kernel

时间:2015-07-21 21:48:27      阅读:5798      评论:0      收藏:0      [点我收藏+]

redhat 6.4 安装VirtualBox自动增强功能功能的时候提示:

building the main Guest Additions module FAILED

unable to find the sources of your current Linux kernel. Specify KERN_DIR-<directory> and run Make again

这个时候需要检测gcc make kernel-level kernel-header 等文件是否安装。具体使用如下命令:

rpm –qa|grep gcc

没有的话,需要安装,需要如下命令:

yum install gcc

最后需要查看kernel的版本是否一致,使用下面的命令查看:

rpm –qa|grep kernel |sort

不一致的话,需要更新kernel,使用如下命令:

yum update kernel

完成后再安装增强工具就OK了。

redhat 6.4 安装VirtualBox自动增强功能功:unable to find the sources of your current Linux kernel

原文:http://www.cnblogs.com/abclife/p/4665551.html

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!