LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-26-2010, 09:19 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,895

Rep: Reputation: 73
Failed Install For VirtualBox


I installed CentOS however during package selection, I deselected every option because I don't need or want the bloated dependencies however now when I try and install a 3rd party RPM from Oracle (VirtualBox), it fails:

Code:
[root@vbox ~]# cat /var/log/vbox-install.log 
** Compiling vboxdrv
Makefile:159: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.
I did make sure I have the 'kernel-headers' package installed as show below but I don't know if that is the exact package VirtualBox is complaining about.

Code:
[root@vbox ~]# rpm -qa kernel-headers
kernel-headers-2.6.18-194.11.1.el5
Anyone know how I can resolve this issue and correctly install VirtualBox on CentOS 5.5 64-bit?

Below is the exact error I got when installing the VirtualBox RPM:

Code:
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 as root.

  /etc/init.d/vboxdrv setup

*****I installed kernel-devel package and that fixed it.*****

Last edited by carlosinfl; 08-26-2010 at 09:44 AM. Reason: Self Resolved
 
Old 08-26-2010, 09:45 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,570

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
Off ZRT. Please mark your thread solved by using Thread Tools.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VirtualBox Install Error MTK358 Linux - Software 3 03-08-2010 02:49 PM
[SOLVED] I got a problem "Starting VirtualBox kernel module ...failed!" wubai Slackware 29 01-04-2010 08:31 AM
I can't get slackware to install to a virtualbox vm dustin2128 Slackware 6 06-30-2009 11:14 AM
Failed to install video drivers... Extraction failed! QueenZ Linux - Newbie 2 03-13-2009 08:55 AM
virtualbox failed to open my vm alf_frommars Ubuntu 0 07-19-2007 06:20 AM


All times are GMT -5. The time now is 03:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration