unable to find the sources of your current Linux kernel
Posted: 10. Feb 2010, 22:10
I am not a newbie, but pretty unexperienced concerning linux. I am running a freshly installed RHEL 5.4. The installation of the RPM-package, downloaded 1 h ago, failed partly with the following details:
TIA Rodyz
The content of the log file is: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.
Any suggestions what to do very appreciated** Compiling vboxdrv
Makefile:152: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
TIA Rodyz