How to install VMWare Tools

I installed VMWare Tools into Debian 6 on VMWare on Windows XP SP3. It was too difficult.

VMware requires linux-header 2.6.32-5-686 and gcc-4.3. I guess it’s because gcc-4.3 is the base of linux-headers. But why does VMWare Tools require linux-headers? and why installing VMWare tools is such complicated? Error message was showed many time.

If you execute vmware-install.pl after installing linux-headers (and gcc-4.3), the program detects the location of the gcc and linux headers correctly.