`
mlc0202
  • 浏览: 102307 次
  • 来自: 北京
社区版块
存档分类
最新评论

virtual安装fedora时,安装增强功能包时会报错解决

 
阅读更多


virtual安装fedora时,安装增强功能包时会报此错
Building the main GuestAdditions module [失败]
安装前需要先安装下面几个包才可以避免这个问题,并把增强功能完整安装上去。
安装软件时,按照本教程给出的顺序可以尽量少下载文件内容。

1.切换到root用户
su
-输入root密码

2.安装gcc
yum install gcc

3.安装内核对应版本的kernel-devel
version=` uname -a | awk '{ print$3 }'` ; yum install kernel-devel-${version}

4.安装dkms
yum install dkms

5.安装功能增强包
教程主要排除无法安装问题,详细功能增强包安装方法请参照网上其他方法。

6.其他情况:如果内核版本跟安装kernel-devel包时的对应不上,在安装功能增强包的时候可能会有以下报错。按照报错提示安装对应的kernel-devel版本即执行报错信息中“yuminstall”那一行即可。如果没有安装多内核,按照步骤3的语句执行一般没有问题。

Building the VirtualBox GuestAdditions kernel modules
The gcc utility was not found.If the following module compilation fails then
this could be the reason and you should try installing it.

The headers for the current running kernel were not found.If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install kernel-devel-2.6.38.6-26.rc1.fc15.i686

Building the main Guest Additions module[失败]

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics