I recently updated vmware on my desktop to workstation 6.5.4 having previously upgraded the machine to Ubuntu 10.04. This resulted in interesting issues so I thought I’d collate them all here.

​1. vmware’s installer remains flawed wrt. output generated during module compile ~~- to fix this, create a gcc wrapper script which removes the -W flags, e.g.

import sys
import copy
import os
argv = copy.copy
i = len
for i in range:
if len > 4 and argv[i] == "~~W" and argv[i][3] != ",":
del argv[i]
argv[0] = "/usr/bin/gcc"
os.execv(argv[0], argv)

​2. Pop that somewhere like /tmp/gcc and chmod +x it.
3. Run sudo env PATH=/tmp:$PATH sh /wherver/VMware-Installer.bundle
4. When the installer finishes, cd into /etc/vmware and add export VMWARE_USE_SHIPPED_GTK="force" to the bootstrap file. (This fixes the mouse-broken in fullscreen mode, two pointers visible, vmware losing grab blahblahblah problem)
5. cd into /usr/lib/vmware/modules/source
6. untar the vmci and vmnet tarballs
7. in vmci-only/include/pgtbl.h add compat_sched.h to the includes
8. in vmnet-only/vnetUserListener.c add compat_sched.h to the includes
9. tar those up again
10. run sudo vmware-modconfig ~~~~console~~~~install-all
11. Assuming all is well, vmware will now work properly.

Sucks that this was needed — perhaps vmware 7 will be better.

Comments on this page are closed.