[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problemi durante installazione VMware Tools su Lenny



Ciao a tutti!
Come da oggetto, ho installato un altra Lenny (img di questa
settimana) su una macchina virtuale con VMware Fusio 2 per Mac OS X,
oltre all'altra installazione sul notebook "reale".
Tutto ok per quanto concerne l'installazione, ma non riesco ad
installare correttamente i VMware Tools. O meglio, li installo, ma non
riesco a configurarli poiché lo script tenta di usare gcc (versione
4.3.1) per compilare dei moduli per il kernel che però è fatto con gg
4.1.3
In particolare:

debian-vm:/home/manuel/Desktop/vmware-tools-distrib# alias gcc="gcc -V 4.1"

/*ci provo con l'alias, ma non funziona lo stesso*/

debian-vm:/home/manuel/Desktop/vmware-tools-distrib# alias
alias gcc='gcc -V 4.1'

debian-vm:/home/manuel/Desktop/vmware-tools-distrib# vmware-config-tools.pl

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:                                      done
   Virtual Printing daemon:                                            done
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 kernel was built with "gcc" version "4.1.3", while you are trying to use
"/usr/bin/gcc" version "4.3.1". This configuration is not recommended and
VMware Tools 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.1" anyway? [no]

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 ]

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel.  Do you want this program to try to build the vmhgfs 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 kernel was built with "gcc" version "4.1.3", while you are trying to use
"/usr/bin/gcc" version "4.3.1". This configuration is not recommended and
VMware Tools 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.1" anyway? [no] yes

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.26-1-686/build/include]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmhgfs-only'
make -C /lib/modules/2.6.26-1-686/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
/tmp/vmware-config1/vmhgfs-only/Makefile:106: *** Inappropriate build
environment: you wanted to use gcc version 4.3.1 while kernel attempts
to use gcc version 4.1.3.
/tmp/vmware-config1/vmhgfs-only/Makefile:108: *** For proper build
you'll have to replace  gcc-4.1 with symbolic link to /usr/bin/gcc.
Stop.
make[1]: *** [_module_/tmp/vmware-config1/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmhgfs-only'
Unable to build the vmhgfs module.

The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.

If you wish to have the shared folders 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 ]

Qui davvero sono piantato e non so più che fare per fargli compilare
questo benedetto modulo ed avere una macchina virtuale usabile.

Ciao e grazie in anticipo a ci vorrà aiutarmi.
Manuel
-- 
http://web.mac.com/manuelmagic


Reply to: