I've followed the instructions here http://www.virtualbox.org/manual/ch04.html#idp19275392 but can't get the additions installed. The specific error I'm getting is:
Building the main Guest Additions module fails.The headers for the current running kernel were not found. If the following module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install kernel-devel-2.6.18-128.e15
uname -r shows kernel-devel-2.6.18-128.e15
uname -m shows x86_64
/var/log/vboxadd-install.log shows:
[...]DKMS: add Completed.
Error! Your kernel headers for kernel-devel-2.6.18-128.e15 cannot be found at /lib/modules/2.6.18-128.e15/build or /lib/modules/2.6.18-128.e15/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
I've checked and both 2.6.18-128.e15/build and 2.6.18-128.e15/source are there. I found this viewtopic.php?f=3&t=39975 which is very similar. I tried
Code: Select all
yum update -yCode: Select all
yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel- --nox11 switch
- Used to verify all repos are enabled
Code: Select all
yum reposlit
Any ideas? Thanks.