Fedora 11 - please install GNU compiler

Discussions about using Linux guests in VirtualBox.
Post Reply
emanon1989
Posts: 3
Joined: 22. Aug 2009, 10:32
Primary OS: MS Windows XP
VBox Version: OSE Fedora
Guest OSses: Fedora 11

Fedora 11 - please install GNU compiler

Post by emanon1989 »

Hey,

Trying to install the VBox guest additions on my Fedora 11 and I keep getting the error:
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.6.29.4-167.fcll.i586
Please install the GNU compiler

etc.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Fedora 11 - please install GNU compiler

Post by Sasquatch »

I have to point to the obvious here. It's right below the NEW TOPIC button, and now also in my signature, but in case you don't see that either, see Howto: Install Linux Guest Additions + Xorg config.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
emanon1989
Posts: 3
Joined: 22. Aug 2009, 10:32
Primary OS: MS Windows XP
VBox Version: OSE Fedora
Guest OSses: Fedora 11

Re: Fedora 11 - please install GNU compiler

Post by emanon1989 »

Hey,

Wasnt sure if that would fix my problem..

And it only fixed part of it, I'm still getting
Please install the build and header files for your current Linux kernel
I'm new to linux, so I dont know if this is a silly questions, but it said my kernel-header version is
2.6.29.6-217.2.8.fcll.i586

but in the error it sais the current kernel version is
2.6.29.4-167.fcll.i586

Is there a topic somewhere for that?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Fedora 11 - please install GNU compiler

Post by Perryg »

First do a yum update and the run this

Code: Select all

yum install make gcc gcc-c++ kernel-source kernel syms
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Fedora 11 - please install GNU compiler

Post by stefan.becker »

I think the package name for the source from kernel is for fedora: "kernel-devel".
emanon1989
Posts: 3
Joined: 22. Aug 2009, 10:32
Primary OS: MS Windows XP
VBox Version: OSE Fedora
Guest OSses: Fedora 11

Re: Fedora 11 - please install GNU compiler

Post by emanon1989 »

Did

Code: Select all

yum update
and then the

Code: Select all

yum install make gcc gcc-c++ kernel-source kernel syms
but it said there was no package for kernel-source and syms

so its still got the same error
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Fedora 11 - please install GNU compiler

Post by Sasquatch »

Again, it's all in my howto. Install packages, update system, reboot to latest kernel and install the GA. If you get an error, check what it is and open your package manager to select the right version for your kernel packages.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Fedora 11 - please install GNU compiler

Post by Perryg »

Or there might be one other problem why it can't find the packages.
Look in the repo section (sources) of your package manager and see if the CD is listed as the top source. If it is take the check mark out and try again.
I have seen this keep the OS from checking for updates on anything but the CD which will of course be outdated and not have the extra packages.
Post Reply