免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2147 | 回复: 5
打印 上一主题 下一主题

centos5.3上安装virtualbox3.0.2失败 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-07-29 10:17 |只看该作者 |倒序浏览
我在 X86_64 硬體架構上安装centos5.3,kernel为2.6.18-128.el5
安装VirtualBox-3.0.2_49928_rhel5-1.i386.rpm失败。
提示如下:
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute

/etc/init.d/vboxdrv setup

as root.

[root@localhost src]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [确定]
Recompiling VirtualBox kernel module [失败]
(Look at /var/log/vbox-install.log to find out what went wrong)

[root@localhost src]# cat /var/log/vbox-install.log
Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。停止。

不知怎么解决,请教?
谢谢!

论坛徽章:
0
2 [报告]
发表于 2009-07-30 19:35 |只看该作者
No precompiled module for this kernel found

论坛徽章:
0
3 [报告]
发表于 2009-07-31 14:26 |只看该作者
我也遇到同样的问题,重新安装了核心包还是提示这样的问题喔!
哪位高手指点下呢?
谢谢。。。

论坛徽章:
0
4 [报告]
发表于 2009-07-31 21:47 |只看该作者

回复 #1 rogermm 的帖子

此类问题需要重新编译内核

论坛徽章:
0
5 [报告]
发表于 2009-07-31 22:30 |只看该作者
多数时候装上kernel-devel 包即可。

原帖由 unixlinuxsys 于 2009-7-30 19:35 发表
No precompiled module for this kernel found

论坛徽章:
0
6 [报告]
发表于 2009-08-01 10:24 |只看该作者
多谢大家呵,努力学习。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP