Ubuntu 9.10 upgrade causes vmware issues

1) Quick fix for when upgrading to Ubuntu 9.10 causes compiling errors in vmware-config.pl

2) For dealing with weird mouse issues:
This thread gave me the idea:

sudo nano /usr/local/bin/vmwareVista

And place in this file :

export VMWARE_USE_SHIPPED_GTK=yes;

And then whatever you use to launch the VM, aka:

/home/[USERNAME]/.mozilla/firefox/ge01a11q.default/extensions/VMwareVMRC@vmware.com/plugins/vmware-vmrc -h "127.0.0.1:8333" -M "32"

Cntl-X and Y to save and quit, then:
sudo chmod +x /usr/local/bin/vmwareVista

Now you can just run

$ vmwareVista