Installing VMWare Tools in Ubunto 5.10 Linux running under Windows XP

Just finnished installing Ubunto Linux 5.10 on my PC.
It is pretty good, I like it.
Since I am a heavy Windows user I will not abandon Windows XP. I have to use it for work, for games, and for cool windows only apps like Feeddemon (RSS reader), Google Earth, etc

To install the VMWare tools:

apt-get install linux-tree
apt-get install build-essential
apt-get install gcc-3.4
cd /usr/src
tar jxvf linux-source-2.6.12.tar.bz2
ln -s linux-source-2.6.12 linux
rmmod pcnet32
export CC=/usr/bin/gcc-3.4

Now you should be able to untar the VMWare tools to a directory and run the setup script successfully.