Note: I use a root account for root proveleged commands, you may need sudo in from of them if you want to stay a regular user.
1. First make sure you have the build essential package installed:
# apt-get install build-essential
2. Make sure you have your kernel headers installed:
# uname -r # apt-get install linux-headers-'kernel version'
3. If you are getting the gcc version error, you will need to install the version that compiled your kernel:
# cat /proc/version
This tells you what version of gcc your kernel was compiled with.
$ cat /proc/version Linux version 2.6.12-8-386 (buildd@rothera) (gcc version 3.4.5 20050809 (prerelease) (Debian 3.4.4-6ubuntu6)) #1 Tue Aug 30 22:41:30 BST 2005 $ ls /usr/bin/gcc* /usr/bin/gcc /usr/bin/gcc-4.0 /usr/bin/gccbug /usr/bin/gccbug-4.0
Mine was compiled with gcc-3.4, but I only have gcc-4.0 installed. If your is different than what's in your /usr/bin/gcc*, you will need this version.
# apt-get install gcc-3.4
That's the version I needed, yours may be different.
4. What people are forgetting, and screwed me up was the g++ version. Some people seemed to be able to go right to the vmware-config.pl after the gcc install, but mine died when it got to compiling the vmmon module with the error "cannot exec `cc1plus'". What you need is the gcc-c++ version that matches the gcc version you just installed, only for Debian/Ubuntu it's called g++.
# apt-get install g++-3.4
Again, this version may be specific to me.
5. Download VMware-workstation-5.0.0-13124.tar.gz from http://www.vmware.com/
$ tar xvzf VMware-workstation-5.0.0-13124.tar.gz $ cd vmware-distrib # ./vmware-install.pl
It should install fine, but DO NOT run the vmware-config.pl just yet.
6. It's always best to use the vmware-any-any-update script instead of the vmware-config.pl. It's available from here http://platan.vc.cvut.cz/ftp/pub/vmware/
$ tar xvzf vmware-any-any-update93.tar.gz $ cd vmware-any-any-update93
EDIT TO ADD:
I forgot that you have to set the CC variable to the gcc version you want to use:
# export CC=/usr/bin/gcc-3.4 # ./runme.pl
That should do it. I'm pretty sure I put everything in here. This should be a concise instruction on how to get VMware going on Breezy Preview after you upgraded everything. I couldn't find any threads adressing all 3 of these errors, and nobody else seemed to have an answer to the cc1plus error. Hope this helps!
http://ubuntuforums.org/showthread.php? ... ght=vmware