VirtualBox 4.1安装失败解决办法

分别用从官网下载的安装包直接安装和配置yum进行安装,安装均报错如下:
Stopping VirtualBox kernel modules [确定]
Uninstalling old VirtualBox DKMS kernel modules [确定]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 2.6.39-200.29.2.el5uek cannot be found at
/lib/modules/2.6.39-200.29.2.el5uek/build or /lib/modules/2.6.39-200.29.2.el5uek/source.
[失败]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [失败]
(Look at /var/log/vbox-install.log to find out what went wrong)

Installed:
VirtualBox-4.1.x86_64 0:4.1.18_78361_rhel5-1

Creating symlink /var/lib/dkms/vboxhost/4.1.18/source ->
/usr/src/vboxhost-4.1.18

DKMS: add completed.
Failed to install using DKMS, attempting to install without
Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again。 停止。

再次感谢群友,群众的力量的伟大的,哈哈!
-The End-

相关推荐