Debian testing and vmware-tools

I am writing these few lines because I believe that a simple guide on how to solve a small problem that occurs during the installation of vmware-tools on debian testing is a must.

You may come across a point during installation where vmware-tools tells you that the path to gcc (usr/bin/gcc) is invalid.

at this point what to do? Simple: just install what is obviously missing:

first stop the vmware-tools installation process and proceed to install gcc with this command:

# apt-get install gcc-4.3 linux-headers-$(uname -r)

after installing the right gcc, proceed to install vmware-tools again and you are done!