Vmware Player/Workstation en Lenny

A instalacion de vmware player ou workstation nunha Lenny (no meu caso Lenny 64) da o seguinte erro:

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 Workstation 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]

 

Se continuaramos de todas formas, daria un erro:

Using 2.6.x kernel build system.
make: Entrando no directorio `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.25-2-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
/bin/sh: /usr/src/linux-headers-2.6.25-2-amd64/scripts/gcc-x86_64-has-stack-protector.sh: Non hai tal ficheiro ou directorio
/bin/sh: /usr/src/linux-headers-2.6.25-2-amd64/scripts/gcc-x86_64-has-stack-protector.sh: Non hai tal ficheiro ou directorio
make[1]: Entrando no directorio `/usr/src/linux-headers-2.6.25-2-amd64'
/tmp/vmware-config2/vmmon-only/Makefile:90: *** Inappropriate build environment: you wanted to use gcc version 4.3.1 while kernel attempts to use gcc version 4.1.3.
/tmp/vmware-config2/vmmon-only/Makefile:92: *** For proper build you'll have to replace  gcc-4.1 with symbolic link to /usr/bin/gcc. Detido.
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Erro 2
make[1]: Saíndo do directorio `/usr/src/linux-headers-2.6.25-2-amd64'
make: *** [vmmon.ko] Erro 2
make: Saíndo do directorio `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

 

Para facelo funcionar temos que facer o seguinte:

1 - Descargar vmware e descomprimilo nunha carpeta temporal

2 - Posicionarnos coa consola nesa carpeta e escribir o seguinte:

/tmp/vmware-distrib$export CC=gcc-4.1

/tmp/vmware-distrib$./vmware-install.pl

Seguimos a instalacion e esta vez acabara exitosamente

 

 

 

 

 

Your rating: Ninguno Average: 4 (1 vote)