I am getting an error when I try to run my virtualbox. When i look at the logs i get this out put Uninstalling modules from DKMS removing old DKMS module vboxhost version 4.0.6 ------------------------------ Deleting module version: 4.0.6 completely from the DKMS tree. ------------------------------ Done. Attempting to install using DKMS Creating symlink /var/lib/dkms/vboxhost/4.0.6/source -> /usr/src/vboxhost-4.0.6 DKMS: add Completed. You can use the --kernelsourcedir option to tell DKMS where it's located. Failed to install using DKMS, attempting to install without Makefile:178: *** Error: KERN_DIR does not point to a directory. Stop. How do i recompile this Kernel or point DKMS the right place
I yum install gcc kernel-devel kernel-headers this is the list of kernels Installed Packages gcc.i386 4.1.2-50.el5 installed kernel-devel.i686 2.6.18-194.32.1.el5 installed kernel-devel.i686 2.6.18-238.5.1.el5 installed kernel-devel.i686 2.6.18-238.9.1.el5 installed kernel-headers.i386 2.6.18-238.9.1.el5 installed So do u see any reason why Virtualbox would behave like this
wachira, Why are you compiling an old version? Latest is 4.0.10 and RPMs are available for Red Hat systems. Use the RPMs provided by Oracle. Here are the links: For x86: http://download.virtualbox.org/virtualbox/4.0.10/VirtualBox-4.0-4.0.10_72479_rhel5-1.i386.rpm For x64 http://download.virtualbox.org/virtualbox/4.0.10/VirtualBox-4.0-4.0.10_72436_rhel5-1.x86_64.rpm It should install perfectly.