VirtualBox Guest Addition install failed
Hello,
I just build a linux-guest virtual box and I am trying to install the guest addition and the first step is to run "/etc/init.d/vboxadd setup". I got the following error:
+"The heaers 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-194.e15+
+You system does not seem to be set up to build kernel modules. Look at /var/log/vboxadd-install.log to find out what went wrong. Once you have corrected it, you can run /etc/init.d/vboxadd setup to build them."+
And the log file reads:
+"*** Error: unable to find the sources of your current linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop"+
I then tried "yum install dkms". This time no error but it says +"No package dkms available . Nothing to do".+ Also, my /usr/src/kernels directory is empty. I dont know if this is part of the reason.
Thanks for the help.
Harry