On Wed, 2 Dec 2009 13:11:57 -0800 Matt McKenzie <[email protected]> wrote:
> 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) I didn't have the kernel-headers, but I do now. I also installed gcc. But the setup command still fails. Someone on a Fedora list said he fixed the problem by installing the OSE version of Virtualbox instead of the one from Sun. However, he didn't say what repository it was located in and I do not find it in my default repository list. _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
