vmware server installation

Hi,

I’m trying to install Vmware Server 1.0.7 on opensuse 11.

When running the compile script, I get the following error

Your kernel was built with “gcc” version “4.3.1”, while you are trying to use
“/usr/bin/gcc” version “4.3”. This configuration is not recommended and VMware
Server may crash if you’ll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
“/usr/bin/gcc” version “4.3” anyway? [no]

I’ve read some other posts on the forums and they suggested just ignoring this error, as when you answer ‘yes’ it installs ok. But if I do that it fails on the next step, ie…

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.25.5-1.1-pae/build/include]

Pressing enter brings up an error about an invalid directory.

Can anyone help?

Thanks

  • coxame,

install the kernel sources

Uw

They are already installed. Ichecked the dependencies listed in the forums and they are all there…

  • coxam wrote, On 09/17/2008 06:16 AM:
    > They are already installed. Ichecked the dependencies listed in the
    > forums and they are all there…

“linux-kernel-headers” then?

Uwe

Cool Solutions: How to install VMware 5.0 workstation on SUSE Linux 10.0 shows that the location of the source is:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

And your right about the fact to ignore the GCC warning.

This might also help: Setting up VMware on SUSE Linux - openSUSE

I had to get vmware up and running in a hurry, so I stuck it on a SUSE 10.1 machine.

But I still wanted to get it running on 11…

Did some more research on the web and came across this…
*
check the versions of the headers and the kernel-sources packages. If
they match, then you need to perform make cloneconfig && make
modules_prepare in /usr/src/linux*

In yast, the linux kernel headers (I’m guessing thats what the post refers to) are v 2.6.25-8.1, while kernel source is v 2.6.25.16-0.1. Wasn’t sure if this meant they were both 2.6.25, so I ran an online update to see if anything changed. It didn’t.

But guess what - vmware now installs fine! The update fixed it.

Thanks for your help on this.