您的位置:首页 > 运维架构 > Linux

VirtualBox安装centos5.3增强工具时报错Building the main Guest Additions modules [失败]

2012-04-18 09:43 363 查看
VirtualBox安装centos5.3增强工具时报错

Building the main Guest Additions modules [失败]



解决办法:

1.安装这几个,我全写上了,有可能不用全安装

[root@localhost tool]#yum install gcc gcc-c++ kernel kernel-devel kernel-source

2.重启电脑
[root@localhost tool]#reboot


3.将增强工具中的文件拷贝到home目录下,新建目录tool
进入tool目录
执行时报权限不够
[root@localhost tool]# ./VBoxLinuxAdditions.run

bash: ./VBoxLinuxAdditions.run: 权限不够
在命令前使用sh即可,如下

[root@localhost tool]#sh ./VBoxLinuxAdditions.run

问题解决
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: