Click to See Complete Forum and Search --> : VMWare Install Problem


robpom
09-09-2004, 01:52 AM
I am trying to install VMWare in FC2 and I am running into a problem.

When I try to have VMware build a module - I run into the following error:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /lib/modules/2.6.5-1.358/build/include

The kernel defined by this directory of header files does not have the same
address space size as your running kernel.

Am I suggesting the wrong directory? Any assistance would be great.

ph34r
09-09-2004, 09:57 AM
Did you install the kernel development stuff when you installed FC2?

They should end up in the /usr/src/linux/include directory.

Icarus
09-09-2004, 10:34 AM
or more exactly, /usr/src/linux is a link to /usr/src/kernel-version ;)

robpom
09-09-2004, 12:44 PM
Yes - I installed it - however, I have updated the kernel since then through the RedHat Network updates. Could that have anything to do with it?

Icarus
09-09-2004, 01:29 PM
Yes it does, it needs to match the current running kernel version

using Yum you can simple do
yum install kernel-source

robpom
09-09-2004, 06:59 PM
Ok - I installed the kernal source files through YUM and it still says that I don't have a /usr/src/linux/include directory even though the YUM install said that it installed everything.

Where do I look now? What am I looking for?

Icarus
09-09-2004, 10:52 PM
check these things

uname -r
that will tell what kernel version you are running

ls -l /usr/src/linux
that should show that linux pointing to what should match the unname output, here's an example of mine

2.6.6
linux -> linux-2.6.6

if it is pointing to a different kernel you need to update the link like so...

ll /usr/src/linux-2.6.6 /usr/src/linux

also make sure the /usr/src/linux/includes is there too

this is a start, other things to check is in the /boot and /boot/grub.config to see what kernel you are booting to and if that is the latest one

robpom
09-10-2004, 12:27 AM
When I type

ls -l /usr/src/linux

I get "No File or Directory Exists"

I am running FC2 - Kernel - 2.6.5-1.358