addendum to installing vbox on centos5 (64 bit)
yum install SDL.x86_64 yum install libxslt.so.1 yum install gcc yum install kernel-devel
export KERN_DIR=/usr/src/kernels/2.6.18-128.4.1.el5-x86_64/
libSDL-1.2.so.0()(64bit) is needed by VirtualBox-3.0.4_50677_rhel5-1.x86_64 libXcursor.so.1()(64bit) is needed by VirtualBox-3.0.4_50677_rhel5-1.x86_64 libXmu.so.6()(64bit) is needed by VirtualBox-3.0.4_50677_rhel5-1.x86_64 libXrandr.so.2()(64bit) is needed by VirtualBox-3.0.4_50677_rhel5-1.x86_64 libasound.so.2()(64bit) is needed by VirtualBox-3.0.4_50677_rhel5-1.x86_64 libxslt.so.1()(64bit) is needed by VirtualBox-3.0.4_50677_rhel5-1.x86_64
to find the actual package names (to install for yum) for above
I tried yum search SDL but it brought up: SDL.x86_64
yum install SDL.x86_64
didn't work... so http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/ THESE ARE THE PACKAGE NAMES!
yum install -y SDL-1.2.10-8.el5.x86_64 yum install -y libXcursor-1.1.7-1.1.x86_64 yum install -y libXmu-1.0.2-5.x86_64 yum install -y libxslt-1.1.17-2.el5_2.2.x86_64
FINALLY!
rpm -ivh VirtualBox-3.0.4_50677_rhel5-1.x86_64.rpm Preparing... ########################################### [100%] 1:VirtualBox ########################################### [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.
OOPS! FORGOT!
export KERN_DIR=/usr/src/kernels/2.6.18-128.4.1.el5-x86_64/