Seite 1 von 1

VMware Tools unter CentOS 5.4

Verfasst: 01.05.2010, 19:44
von bico
Hallo,

Könnt ihr mir bei folgendem Problem weiterhelfen.

Wenn ich VMware Tools auf meinem CentOS installieren will, kann er die wichtigsten Komponenten nicht in den Kernel einkompilieren weil die GCC Version nicht stimmt.

"gcc-Version 4.1.2 20080704 (Red Hat 4.1.2-46)" is not supported by this version of VMware Tools


hab diesen workarround ausprobiert: http://communities.vmware.com/thread/203452
funktioniert aber nicht.


Hat jemand ähnliches Problem schon lösen können?

cheerio
Bico

Verfasst: 02.05.2010, 13:01
von Dayworker
Hmmm, der Patch wurde für die WS6.5.2-Tools verfaßt und ob der auch noch beim ESXi4 hilft...

Verfasst: 02.05.2010, 19:48
von bico
wichtig wäre mir eigentlich nur dass ich die tools auf meinen centos zum laufen bekomme - gerade die performance leidet extrem ohne die tools. finde im netz leider nichts brauchbares...

Verfasst: 02.05.2010, 20:07
von Dayworker
http://lists.centos.org/pipermail/cento ... 90244.html löst vielleicht dein Problem und von VMware gibts sogar ein PDF.
Alternativ bieten die Release Notes von CentOS5.4 auch einen Ansatzpunkt für die weitere Suche.

Verfasst: 03.05.2010, 01:56
von bico
mhm mir ist nicht so ganz klar was hier beschrieben ist http://vmadmin.nt.com.au/?p=28
geht es jetzt darum vmware tools mit dem gcc problem zu installieren oder geht es darum mittels nen neuen paravirtual scsi controller zu booten was aber weniger den punkt vmware-tools installieren anspricht, dieser wird hier doch irgendwie nur am rande erwähnt...

Verfasst: 03.05.2010, 02:06
von continuum
Ich kann nicht folgen hier ... ?

du brauchst einen anderen - zweiten gcc - installier den doch einfach ...

oder leg einen link zu dem vorhandenen gcc so dass die Tools denken alles waer ok

Verfasst: 03.05.2010, 15:42
von bico
hab ich auch versucht schon, allerdings bringt das nichts, kommt immer die gleiche fehlermeldung bzw die frage ist ja warum er ausgerechnet diese gcc-Version 4.1.2 20080704 (Red Hat 4.1.2-46) nicht unterstützt und wie man evtl durch spreu vom weizen trennen vllt sogar schon die losung hat durch nur einfach die gcc version downgraden oder upgraden

Verfasst: 03.05.2010, 15:46
von continuum
welchen gcc will er den haben ?

Verfasst: 03.05.2010, 22:48
von bico
das weiß ich nicht. er hängt bei der Installation eben genau hier immer:
[root@vs102 vmware-tools-distrib]# uname -r # running kernel
2.6.18-164.2.1.el5.028stab066.10
[root@vs102 vmware-tools-distrib]# rpm -q kernel-devel # installed kernel headers
kernel-devel-2.6.18-164.15.1.el5
[root@vs102 vmware-tools-distrib]#


[root@vs102 vmware-tools-distrib]# ./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 4.0.0 build-208167 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ OK ]
Unmounting HGFS shares: [ OK ]
Guest filesystem driver: [ OK ]
None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
[yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

Your compiler "/usr/bin/gcc" version "gcc-Version 4.1.2 20080704 (Red Hat
4.1.2-46)" is not supported by this version of VMware Tools.

The memory manager driver (vmmemctl module) is used by VMware host software to
efficiently reclaim memory from a virtual machine.
If the driver is not available, VMware host software may instead need to swap
guest memory to disk, which may reduce performance.
The rest of the software provided by VMware Tools is designed to work
independently of this feature.
If you want the memory management feature, you can install the driver by
running vmware-config-tools.pl again after making sure that gcc, binutils, make
and the kernel sources for your running kernel are installed on your machine.
These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]


hab es mal nach dieser anleitung z.b. probiert: http://forevergeeks.com/installing-vmwa ... tos-server


bis zu dem punkt mit dem GCC Problem hat er mir keine Fehler gebracht und alles Ordnungsgemäß installiert.

Ich komm da einfach nicht weiter :cry:

Verfasst: 03.05.2010, 23:55
von continuum
guck dir mal vmware-config-tools.pl mit einem Texteditor an - da steht bestimmt drin welcher gcc erwartet wird

Verfasst: 09.05.2010, 17:14
von bico
Problem gelöst in dem die richtigen Headers zum einen installiert wurden und zum anderen ich die vmware-config-tools.pl extra starte nach der 1. installation über vmware-install.pl ... da hat er ja fehler gebracht.... einfach abbrechen ander stelle, in das bin verzeichnis wechseln und die vmware-config-tools.pl wie folgt starten:
LANG=C ./vmware-config-tools.pl


hoffe konnte denjenigen die ähnliche Probleme haben weiterhelfen.

cheerio