Problems running virtualbox with centos 5.3
Posted: 6. May 2009, 04:38
This is the error I receive trying to compile virtualbox:
/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@tonto lib]# more /var/log/vbox-install.log
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxdrv/2.2.2/source ->
/usr/src/vboxdrv-2.2.2
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.18-128.el5 cannot be found at
/lib/modules/2.6.18-128.el5/build or /lib/modules/2.6.18-128.el5/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:140: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<di
rectory> and run Make again. Stop.
Please help!! Thanks.
/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@tonto lib]# more /var/log/vbox-install.log
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxdrv/2.2.2/source ->
/usr/src/vboxdrv-2.2.2
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.18-128.el5 cannot be found at
/lib/modules/2.6.18-128.el5/build or /lib/modules/2.6.18-128.el5/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:140: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<di
rectory> and run Make again. Stop.
Please help!! Thanks.