LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-27-2009, 02:51 AM   #1
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Rep: Reputation: 16
problem installing guest additions in Fedora 11 guest (virtualbox)


guys, I'm running Fedora 11 as a guest on Virtualbox, but when I try to install the "Guest Additions" it tells me that I need to install the "build and headers for your current linux kernel"

Code:
yum install kernel-devel kernel-headers
yum install gcc
but still a no go
 
Old 07-27-2009, 11:58 AM   #2
camh
Member
 
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Blog Entries: 2

Rep: Reputation: 33
maybe still missing a few things?

yum install make automake gcc gcc-c++ kernel-devel
 
Old 07-27-2009, 12:01 PM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Or in one shot:
Code:
yum groupinstall "Development Tools"
What is the output from rpm -qa kernel* ?
 
Old 07-27-2009, 02:35 PM   #4
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by colucix View Post
Or in one shot:
Code:
yum groupinstall "Development Tools"
What is the output from rpm -qa kernel* ?
I've always used Debian based distro, so by using
Code:
yum groupinstall
wouldn't that only install the packages to the root group?.. since you need root access to install packages. Just wondering.
 
Old 07-27-2009, 02:41 PM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by mia_tech View Post
wouldn't that only install the packages to the root group?.. since you need root access to install packages. Just wondering.
Nope. You need root privileges because the packages will be installed in system directories, where only root can do changes. But the development tool will be available to all the users.
 
Old 07-27-2009, 03:34 PM   #6
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
man, I've tried every method post here and nothing... still when trying to install virtualbox addons.. is telling me that I need "build and headers"... mean while I'm checking the virtualbox forums, maybe I can find something there

here's the output I'm getting
Code:
[root@Fedora11-vbox VBOXADDITIONS_3.0.2_49928]# ./VBoxLinuxAdditions-x86.run 
Verifying archive integrity... All good.
Uncompressing VirtualBox 3.0.2 Guest Additions for Linux installation..............................................................................................................................................................................................................................
VirtualBox 3.0.2 Guest Additions installation
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.6.29.5-191.fc11.i586
Problems were found which would prevent the Guest Additions from installing.
Please correct these problems and try again.

Last edited by mia_tech; 07-27-2009 at 03:38 PM.
 
Old 07-27-2009, 04:03 PM   #7
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Please, can you post the output from the following commands?
Code:
rpm -qa kernel*
ls /usr/src/kernels/$(uname -r)
 
Old 07-27-2009, 04:13 PM   #8
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by colucix View Post
Please, can you post the output from the following commands?
Code:
rpm -qa kernel*
ls /usr/src/kernels/$(uname -r)
here you go

Code:
[root@Fedora11-vbox ~]# rpm -qa kernel*
kernel-firmware-2.6.29.5-191.fc11.noarch
kernel-PAE-devel-2.6.29.6-213.fc11.i686
kernel-devel-2.6.29.6-213.fc11.i586
kerneloops-0.12-5.fc11.i586
kernel-headers-2.6.29.6-213.fc11.i586
kernel-2.6.29.5-191.fc11.i586
[root@Fedora11-vbox ~]# ls /usr/src/kernels/$(uname -r)
ls: cannot access /usr/src/kernels/2.6.29.5-191.fc11.i586: No such file or directory
 
Old 07-27-2009, 04:23 PM   #9
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
You're running kernel-2.6.29.5-191.fc11.i586, but you erroneously installed sources of a more recent version kernel-devel-2.6.29.6-213.fc11.i586. You can uninstall the wrong ones:
Code:
yum remove kernel-PAE-devel kernel-devel kernel-headers
and install the correct version, but first verify that yum is able to find the version matching your current kernel:
Code:
yum list kernel*
 
Old 07-28-2009, 12:15 AM   #10
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by colucix View Post
You're running kernel-2.6.29.5-191.fc11.i586, but you erroneously installed sources of a more recent version kernel-devel-2.6.29.6-213.fc11.i586. You can uninstall the wrong ones:
Code:
yum remove kernel-PAE-devel kernel-devel kernel-headers
and install the correct version, but first verify that yum is able to find the version matching your current kernel:
Code:
yum list kernel*
these are the only available packages...
Code:
Available Packages
kernel-PAE.i686                         2.6.29.6-213.fc11              updates  
kernel-PAE-devel.i686                   2.6.29.6-213.fc11              updates  
kernel-PAEdebug.i686                    2.6.29.6-213.fc11              updates  
kernel-PAEdebug-devel.i686              2.6.29.6-213.fc11              updates  
kernel-devel.i586                       2.6.29.6-213.fc11              updates  
kernel-doc.noarch                       2.6.29.6-213.fc11              updates  
kernel-headers.i586                     2.6.29.6-213.fc11              updates
I guess my other option would be to upgrade the kernel as the build and headers for my kernel are not available
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Canon Scanner 3200F to Guest XP under Virtualbox. bc_the_path Linux - Hardware 1 06-26-2009 05:33 PM
Virtualbox Gentoo Guest - Can't get guest additions working MALDATA Gentoo 3 06-18-2009 11:43 PM
Migrate existing fedora 9 to virtualbox guest zuessh Linux - Software 1 03-03-2009 10:10 AM
Problem accessing dirs with VirtualBox and guest additions crisostomo_enrico Solaris / OpenSolaris 6 03-24-2008 05:38 AM
Compiling Virtualbox Guest Additions paulsiu DamnSmallLinux 5 11-19-2007 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration