Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-27-2009, 02:51 AM
|
#1
|
Member
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245
Rep:
|
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
|
|
|
07-27-2009, 11:58 AM
|
#2
|
Member
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Rep:
|
maybe still missing a few things?
yum install make automake gcc gcc-c++ kernel-devel
|
|
|
07-27-2009, 12:01 PM
|
#3
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
Or in one shot:
Code:
yum groupinstall "Development Tools"
What is the output from rpm -qa kernel* ?
|
|
|
07-27-2009, 02:35 PM
|
#4
|
Member
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245
Original Poster
Rep:
|
Quote:
Originally Posted by colucix
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 wouldn't that only install the packages to the root group?.. since you need root access to install packages. Just wondering.
|
|
|
07-27-2009, 02:41 PM
|
#5
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
Quote:
Originally Posted by mia_tech
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.
|
|
|
07-27-2009, 03:34 PM
|
#6
|
Member
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245
Original Poster
Rep:
|
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.
|
|
|
07-27-2009, 04:03 PM
|
#7
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
Please, can you post the output from the following commands?
Code:
rpm -qa kernel*
ls /usr/src/kernels/$(uname -r)
|
|
|
07-27-2009, 04:13 PM
|
#8
|
Member
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245
Original Poster
Rep:
|
Quote:
Originally Posted by colucix
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
|
|
|
07-27-2009, 04:23 PM
|
#9
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
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:
|
|
|
07-28-2009, 12:15 AM
|
#10
|
Member
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 245
Original Poster
Rep:
|
Quote:
Originally Posted by colucix
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:
|
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 09:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|