求助 virtualbox下安装centos5.4 出问题

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
yeyuchong
帖子: 6
注册时间: 2009-11-15 14:30

求助 virtualbox下安装centos5.4 出问题

#1

帖子 yeyuchong » 2009-12-12 21:23

win7 使用virtualbxo装好centos5.4后无法安装Virtualbox additions功能增强包
宿主机为win7,使用virtualbox安装xp后,可以安装成功Virtualbox additions功能增强包;
使用virtualbox安装centos5.4,无法安装Virtualbox additions功能增强包。
bash VBoxLinuxAdditions-x86.run
Verifying archive integrity...All good.
Uncompressing VirtualBox 3.1.0 Guest Additions for Linux......
VirtualBox Guest Additions installer
Removing installed version of VirtualBox Guest Additions........
Building theVirtualBox Guest Additionskernel modules 【失败】
(Your system does not seem to be set up to build kernel modules.Lookat/var/log/vboxadd-install.log to find out what went wrong)
Installing the Windows System drivers
yeyuchong
帖子: 6
注册时间: 2009-11-15 14:30

Re: 求助 virtualbox下安装centos5.4 出问题

#2

帖子 yeyuchong » 2009-12-13 9:34

qkbeyond 写了:
Lookat/var/log/vboxadd-install.log to find out what went wrong
谢谢提示 本人刚接触Linux
打开vboxadd-install.log后是:
unable to find the sources of your current linux kernel.
specify kern_dir=<dirrvtory>、


然后我改咋么办??
tusheng
帖子: 741
注册时间: 2007-09-18 8:45

Re: 求助 virtualbox下安装centos5.4 出问题

#3

帖子 tusheng » 2009-12-13 9:45

unable to find the sources of your current linux kernel.

不能找到你当前的linux内核的源,大概是这个意思,后面没有了?

搜了一下,好象是编译器的问题,你的gcc完整吗?
yeyuchong
帖子: 6
注册时间: 2009-11-15 14:30

Re: 求助 virtualbox下安装centos5.4 出问题

#4

帖子 yeyuchong » 2009-12-13 10:05

tusheng 写了:unable to find the sources of your current linux kernel.

不能找到你当前的linux内核的源,大概是这个意思,后面没有了?

搜了一下,好象是编译器的问题,你的gcc完整吗?
我刚开始以为是kernel找不到
我是从电驴上下载的centos 5.4 不知道gcc是否完整 我需要咋么验证?、
感谢!
头像
maivel
帖子: 293
注册时间: 2009-05-01 7:35

Re: 求助 virtualbox下安装centos5.4 出问题

#5

帖子 maivel » 2009-12-13 10:25

rpm -q gcc
gcc-4.1.2-46.el5_4.1
我这个人天生愚笨,体内装进一点点东西就会往外面冒,满地都是,一不小心就成了才华横溢。
头像
maivel
帖子: 293
注册时间: 2009-05-01 7:35

Re: 求助 virtualbox下安装centos5.4 出问题

#6

帖子 maivel » 2009-12-13 10:35

如果没有gcc就安装gcc 然后安装kernel-devel
我这个人天生愚笨,体内装进一点点东西就会往外面冒,满地都是,一不小心就成了才华横溢。
yeyuchong
帖子: 6
注册时间: 2009-11-15 14:30

Re: 求助 virtualbox下安装centos5.4 出问题

#7

帖子 yeyuchong » 2009-12-13 10:49

maivel 写了:rpm -q gcc
gcc-4.1.2-46.el5_4.1
查看了版本是centos 5.4 final
但是gcc没有查到 可能就是gcc没有安装
谢谢 :em02
头像
maivel
帖子: 293
注册时间: 2009-05-01 7:35

Re: 求助 virtualbox下安装centos5.4 出问题

#8

帖子 maivel » 2009-12-13 10:57

http://blog.163.com/cuckoofeng@126/blog ... 995753830/
kernel-devel貌似也需要 参考一下
我这个人天生愚笨,体内装进一点点东西就会往外面冒,满地都是,一不小心就成了才华横溢。
yeyuchong
帖子: 6
注册时间: 2009-11-15 14:30

Re: 求助 virtualbox下安装centos5.4 出问题

#9

帖子 yeyuchong » 2009-12-13 13:33

已解决 把所有库文件都安装后可以运行 谢谢了
回复