Even after doing all the things in this thread I had to create the links Zhe mentions in this thread http://askubuntu.com/questions/40979/what-is-the-path-to-the-kernel-headers-so-i-can-install-vmware