LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   problem installing guest additions in Fedora 11 guest (virtualbox) (http://www.linuxquestions.org/questions/linux-desktop-74/problem-installing-guest-additions-in-fedora-11-guest-virtualbox-743022/)

mia_tech 07-27-2009 03:51 AM

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

camh 07-27-2009 12:58 PM

maybe still missing a few things?

yum install make automake gcc gcc-c++ kernel-devel

colucix 07-27-2009 01:01 PM

Or in one shot:
Code:

yum groupinstall "Development Tools"
What is the output from rpm -qa kernel* ?

mia_tech 07-27-2009 03:35 PM

Quote:

Originally Posted by colucix (Post 3621894)
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.

colucix 07-27-2009 03:41 PM

Quote:

Originally Posted by mia_tech (Post 3622070)
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.

mia_tech 07-27-2009 04:34 PM

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.


colucix 07-27-2009 05:03 PM

Please, can you post the output from the following commands?
Code:

rpm -qa kernel*
ls /usr/src/kernels/$(uname -r)


mia_tech 07-27-2009 05:13 PM

Quote:

Originally Posted by colucix (Post 3622174)
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


colucix 07-27-2009 05:23 PM

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*

mia_tech 07-28-2009 01:15 AM

Quote:

Originally Posted by colucix (Post 3622190)
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


All times are GMT -5. The time now is 11:12 AM.