On Wed, Dec 2, 2009 at 12:11 PM, John Jason Jordan <[email protected]>wrote:

> [snip]
>
> Makefile:147: *** Error: unable to find the sources of your current Linux
> kernel. Specify KERN_DIR=<directory> and run Make$
>
> Now I'm stumped.
>
> In the past (Ubuntu days) occasionally Virtualbox would refuse to run a
> virtual
> machine until I installed new Virtualbox headers (or something) because
> there
> had been a kernel update. It was easy to fix - just open Synaptic, search
> on
> Virtualbox and there would be the vbox kernel file. However, Fedora doesn't
> show such options; probably because I installed it from the RPM.
>
> The kernel I am running is 2.6.29.4-167.fc11.x86_64. If I search the
> filesystem
> I find four files with the kernel numbers located in /boot:
>
> System.map-2.6.29.4-167.fc11.x86_64
> config-2.6.29.4-167.fc11.x86_64
> initrd-2.6.29.4-167.fc11.x86_64
> vmlinuz-2.6.29.4-167.fc11.x86_64
>
> There is also a kernel-2.6.29.4-167.fc11.x86_64 in /etc/ld.so.conf.d, and a
> folder in /lib/modules.
>
> If anyone is running Virtualbox on Fedora, I could use some clues.
> _______________________________________________
>
>
Hello

I run VirtualBox on Fedora as both host and guest OS (WinXP as other host or
guest, as well as several other Linux flavors)

In Fedora, you probably want to install kernel-devel and kernel-headers
packages, as well as gcc.
It needs all the extra libs and includes from that to compile the vbox
modules.

You can do this to see if you have them already:

rpm -qa | grep kernel

Mine has:
kernel-xyz
kernel-headers-xyz
kernel-devel-xyz
(xyz being the current version number)


HTH

----------
Matt M.
LinuxKnight
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to