Failure of Vmware Server 2 installation on SLES 11 SP2

I am installing VMware-server-2.0.2-203138 on sles 11 sp2 and it conflicts while finding C header file:

Your kernel was built with "gcc" version "4.3.4", 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] yes

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

There is no version.h file in usr/src/linux-{uname -r}/include
I am not getting linux-kernel-headers for 3.0.13-0.27.

My system information is:

[CODE]# uname -r
3.0.13-0.27-default

rpm -qa | grep kernel

kernel-xen-base-3.0.13-0.27.1
linux-kernel-headers-2.6.32-1.4.13
kernel-default-base-3.0.13-0.27.1
kernel-default-devel-3.0.13-0.27.1
kernel-default-3.0.13-0.27.1
kernel-source-3.0.13-0.27.1
kernel-firmware-20110923-0.7.64

rpm -qa | grep gcc

gcc-info-4.3-62.198
libgcc46-32bit-4.6.1_20110701-0.13.9
gcc43-info-4.3.4_20091019-0.22.17
gcc43-32bit-4.3.4_20091019-0.22.17
gcc-32bit-4.3-62.198
gcc43-4.3.4_20091019-0.22.17
gcc-4.3-62.198
libgcc46-4.6.1_20110701-0.13.9
gcc43-locale-4.3.4_20091019-0.22.17
gcc-locale-4.3-62.198
gcc43-c+±4.3.4_20091019-0.22.17
gcc-c+±4.3-62.198

[/CODE]

How to get vmserver installed successfully?

VMware Server 2 is very outdated & along with that, SLES 11 SP2 is using the 3.0 kernel (probably the biggest issue in this case).

This blog and the attached script might help: http://radu.cotescu.com/how-to-install-vmware-server-2-0-x-on-ubuntu-9-10-karmic-koala/
I have not “played” with this myself… I’d opt for you to look at other options, like using the free ESXi hypervisor or looking at options that can more easily added to SLES 11 SP2 (e.g. VirtualBox, KVM, …).

Hope that helps,
-Willem

Thanks magic for the reply.

On 03/05/2013 13:34, Magic31 wrote:
[color=blue]

VMware Server 2 is very outdated[/color]

“Very outdated” would be an understatement - support for VMware Server
ended on June 30, 2011 (and even before then development was patchy to
say the least).

From http://www.vmware.com/products/server/overview.html

–begin–
In January 2010, VMware announced the End of Support for VMware Server
with support ending on June 30, 2011. Users are free to continue using
VMware Server but are recommended to migrate to another VMware offering
to gain the benefits of newer technologies.
—end–

HTH.

Simon
SUSE Knowledge Partner


Do you work with SUSE technologies at a university, college or school?
If so, your campus could benefit from joining the Technology Transfer
Partner (TTP) program. See TTP Organization | Micro Focus for more details.

On 03/05/2013 13:04, prupesh wrote:
[color=blue]

I am installing VMware-server-2.0.2-203138 on sles 11 sp2 and it
conflicts while finding C header file:

Code:

Your kernel was built with “gcc” version “4.3.4”, 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] yes

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


There is no version.h file in usr/src/linux-{uname -r}/include
I am not getting linux-kernel-headers for 3.0.13-0.27.

My system information is:

Code:

 # uname -r

3.0.13-0.27-default

rpm -qa | grep kernel

kernel-xen-base-3.0.13-0.27.1
linux-kernel-headers-2.6.32-1.4.13
kernel-default-base-3.0.13-0.27.1
kernel-default-devel-3.0.13-0.27.1
kernel-default-3.0.13-0.27.1
kernel-source-3.0.13-0.27.1
kernel-firmware-20110923-0.7.64

rpm -qa | grep gcc

gcc-info-4.3-62.198
libgcc46-32bit-4.6.1_20110701-0.13.9
gcc43-info-4.3.4_20091019-0.22.17
gcc43-32bit-4.3.4_20091019-0.22.17
gcc-32bit-4.3-62.198
gcc43-4.3.4_20091019-0.22.17
gcc-4.3-62.198
libgcc46-4.6.1_20110701-0.13.9
gcc43-locale-4.3.4_20091019-0.22.17
gcc-locale-4.3-62.198
gcc43-c+±4.3.4_20091019-0.22.17
gcc-c+±4.3-62.198


How to get vmserver installed successfully?[/color]

Given that VMware Server is no longer supported can I ask why you’re
wanting and trying to install VMware Server on SLES11 SP2?

If you’re trying to host virtual machines on the hardware then I can
think of a couple of alternatives that are not only better but, more
importantly, supported:

  1. use Xen to host virtual machines on SLES11 SP2
  2. use KVM to host virtual machines on SLES11 SP2
  3. install VMware ESXi on the hardware then install SLES11 SP2 as a
    virtual machine (ie. SLES11 SP2 becomes a guest rather than the host)

HTH.

Simon
SUSE Knowledge Partner


Do you work with SUSE technologies at a university, college or school?
If so, your campus could benefit from joining the Technology Transfer
Partner (TTP) program. See TTP Organization | Micro Focus for more details.

[QUOTE=smflood;13434]On 03/05/2013 13:34, Magic31 wrote:
[color=blue]

VMware Server 2 is very outdated[/color]

“Very outdated” would be an understatement - support for VMware Server
ended on June 30, 2011[/QUOTE]

Depends on ones POV… there are still shops I visit using Windows 2000, for which official support was killed a year earlier… Ok, that’s more a thing that they P2V’d those dinosaurs, it still runs (sortof), and don’t want the headaches of migrating off the dozen services that nobody seems to remember the details of… but there you have it. :slight_smile:

Cheers,
Willem

Thanks simon for the reply.
I was trying it just because it was free and secondly because I think installing exsi on my system will format entire hard disk and I may lose the data.

[QUOTE=smflood;13437]On 03/05/2013 13:04, prupesh wrote:
[color=blue]

I am installing VMware-server-2.0.2-203138 on sles 11 sp2 and it
conflicts while finding C header file:

Code:

Your kernel was built with “gcc” version “4.3.4”, 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] yes

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


There is no version.h file in usr/src/linux-{uname -r}/include
I am not getting linux-kernel-headers for 3.0.13-0.27.

My system information is:

Code:

 # uname -r

3.0.13-0.27-default

rpm -qa | grep kernel

kernel-xen-base-3.0.13-0.27.1
linux-kernel-headers-2.6.32-1.4.13
kernel-default-base-3.0.13-0.27.1
kernel-default-devel-3.0.13-0.27.1
kernel-default-3.0.13-0.27.1
kernel-source-3.0.13-0.27.1
kernel-firmware-20110923-0.7.64

rpm -qa | grep gcc

gcc-info-4.3-62.198
libgcc46-32bit-4.6.1_20110701-0.13.9
gcc43-info-4.3.4_20091019-0.22.17
gcc43-32bit-4.3.4_20091019-0.22.17
gcc-32bit-4.3-62.198
gcc43-4.3.4_20091019-0.22.17
gcc-4.3-62.198
libgcc46-4.6.1_20110701-0.13.9
gcc43-locale-4.3.4_20091019-0.22.17
gcc-locale-4.3-62.198
gcc43-c+±4.3.4_20091019-0.22.17
gcc-c+±4.3-62.198


How to get vmserver installed successfully?[/color]

Given that VMware Server is no longer supported can I ask why you’re
wanting and trying to install VMware Server on SLES11 SP2?

If you’re trying to host virtual machines on the hardware then I can
think of a couple of alternatives that are not only better but, more
importantly, supported:

  1. use Xen to host virtual machines on SLES11 SP2
  2. use KVM to host virtual machines on SLES11 SP2
  3. install VMware ESXi on the hardware then install SLES11 SP2 as a
    virtual machine (ie. SLES11 SP2 becomes a guest rather than the host)

HTH.

Simon
SUSE Knowledge Partner


Do you work with SUSE technologies at a university, college or school?
If so, your campus could benefit from joining the Technology Transfer
Partner (TTP) program. See TTP Organization | Micro Focus for more details.
------------------------------------------------------------------------[/QUOTE]

If you want to use something similar to Vmware server you could use
Vmware Workstation, which includes VMware server in a more recent
version. If your VM needs not to run as a service you could use the
free VMware Player, too.

Vmware ESXi is a very nice thing, but your hardware has to support it
and Vmware ESXi needs quite decent hardware to work with it hassle free.

And of course you would loose your data, if you went to ESXi - but
there exists the free VMWare Converter tool, with which you can make a
Virtual machine from a physical one.

W. Prindl

prupesh wrote:
[color=blue]

Thanks simon for the reply.
I was trying it just because it was free and secondly because I think
installing exsi on my system will format entire hard disk and I may
lose the data.

smflood;13437 Wrote:[color=green]

On 03/05/2013 13:04, prupesh wrote:
[color=darkred]

I am installing VMware-server-2.0.2-203138 on sles 11 sp2 and it
conflicts while finding C header file:

Code:

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

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


There is no version.h file in usr/src/linux-{uname -r}/include
I am not getting linux-kernel-headers for 3.0.13-0.27.

My system information is:

Code:

 # uname -r

3.0.13-0.27-default

rpm -qa | grep kernel

kernel-xen-base-3.0.13-0.27.1
linux-kernel-headers-2.6.32-1.4.13
kernel-default-base-3.0.13-0.27.1
kernel-default-devel-3.0.13-0.27.1
kernel-default-3.0.13-0.27.1
kernel-source-3.0.13-0.27.1
kernel-firmware-20110923-0.7.64

rpm -qa | grep gcc

gcc-info-4.3-62.198
libgcc46-32bit-4.6.1_20110701-0.13.9
gcc43-info-4.3.4_20091019-0.22.17
gcc43-32bit-4.3.4_20091019-0.22.17
gcc-32bit-4.3-62.198
gcc43-4.3.4_20091019-0.22.17
gcc-4.3-62.198
libgcc46-4.6.1_20110701-0.13.9
gcc43-locale-4.3.4_20091019-0.22.17
gcc-locale-4.3-62.198
gcc43-c+±4.3.4_20091019-0.22.17
gcc-c+±4.3-62.198


How to get vmserver installed successfully?[/color]

Given that VMware Server is no longer supported can I ask why
you’re wanting and trying to install VMware Server on SLES11 SP2?

If you’re trying to host virtual machines on the hardware then I
can think of a couple of alternatives that are not only better
but, more importantly, supported:

  1. use Xen to host virtual machines on SLES11 SP2
  2. use KVM to host virtual machines on SLES11 SP2
  3. install VMware ESXi on the hardware then install SLES11 SP2 as a
    virtual machine (ie. SLES11 SP2 becomes a guest rather than the
    host)
    HTH.

    Simon
    SUSE Knowledge Partner

---- Do you work with SUSE technologies at a university, college
or school? If so, your campus could benefit from joining the
Technology Transfer Partner (TTP) program. See TTP Organization | Micro Focus for
more details.

----[/color][/color]