Recientemente he actualizado a Fedora Core 6 (porque acaba de salir la 7 😉 y el vmplayer ha dejado de funcionarme porque ha cambiado el kernel. Bien, hagamos lo que indica el error, ejecutar /usr/bin/vmplayer-config.pl. Éste me va haciendo varias preguntas, hasta que llegamos a:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.18-1.2798.fc6-i686/include/
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-1.2798.fc6). Even if the module were to
compile successfully, it would not load into the running kernel.
Para solucionar el error anterior, alguien ha preparado un paquete llamado vmware-any-any-update109.tar.gz
Si lo descargamos, descomprimimos y ejecutamos, el error anterior ya no ocurre, y parece que todo compila ok, pero justo hacia el final:
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/vmmon.o': -1 Invalid module format
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
Aquí me ayudó este post que viene a decir que se debe a que por error hemos descargado y usado para la compilación la versión incorrecta de los archivos de desarrollo del kernel (kernel-devel). En concreto, en mi caso, así ha sido, tenía kernel-devel.i686 cuando necesitaba kernel-devel.i586. Desinstalar (rpm -e) e instalar el bueno (yum install kernel-devel.i586).
Repetimos el /usr/bin/vmware-config.pl y ahora compila todo ok. Perfecto ? No!
$ vmplayer
/usr/lib/vmware/bin/vmplayer: symbol lookup error: /usr/lib/vmware/lib/libvmwareui.so.0/libvmwareui.so.0: undefined symbol: _ZN3Gtk13RecentManager11get_defaultEv
Grrr… buscando en los foros de VMWare, encontré la solución, hay que lanzar vmplayer definiendo previamente una variable de entorno:
$ VMWARE_USE_SHIPPED_GTK=force vmplayer
Y por fin, conseguí hacer funcionar a la bestia.