Installing VirtualBox in RHEL5

Haridas, Rijeshk (NSN - IN/Bangalore) rijeshk.haridas at nsn.com
Mon Sep 6 10:34:25 UTC 2010


Hello,

We have an usecase to install virtualbox on our RHEL5 server.
I downloaded the latest 64 bit binary ie, VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm and did rpm -ivh <rpm name>.

Its showing the below error .Can anyone help me out.it seems some library is missing.


[root at pythagoras vmware]# rpm -ivh VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm
warning: VirtualBox-3.2-3.2.8_64453_rhel5-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 98ab5139
Preparing...                ########################################### [100%]
   1:VirtualBox-3.2         ########################################### [100%]

Creating group 'vboxusers'. VM users must be member of that group!

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.

The /var/log/vbox-install.log shows the below error:

** Compiling vboxdrv
Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.

Is it looking for kernel-devel rpm??


Regards,
Rijesh




More information about the redhat-list mailing list