LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1810|回复: 3

【已经解决】xp主机下用virtualbox安装最新debian,安装增强工具时的问题,求教

[复制链接]
发表于 2009-3-9 01:07:23 | 显示全部楼层 |阅读模式
virtualbox版本: 2.1.2.

使用命令sudo sh ./VBoxLinuxAdditions-x86.run,出现提示如下:
please install the build and header filesfor your current linux kernel.
the current kernel version is 2.6.26-1-686.
problems were found which would prevent the guest additions from installing.
please correct these problems and try again.

baidu了,google都没答案,特来求教,多谢。
发表于 2009-3-9 02:12:10 | 显示全部楼层
vbox 需要编译内核模块实现相关功能,没找到内核头文件。装这个包
linux-headers-2.6.26-1-686,同时检查一下是否安装了 build-essential 。
回复 支持 反对

使用道具 举报

发表于 2009-3-9 08:07:49 | 显示全部楼层
1)用新立得软件包管理器安装以下软件包:make,gcc,Header files for Linux 2.6.26-1-686。

2)在终端执行命令:./VBoxLinuxAdditions-x86.run
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-9 20:26:55 | 显示全部楼层
多谢楼上两位,问题已经搞定。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表