VMWare Tools on Debian 5.0.4 ( Lenny )
$> apt-get install make
$> apt-get install gcc-4.1
$> ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
$> apt-get install linux-headers`uname -r` #(identify headers version with uname -a) and redigit the exact name of the package.
$> apt-get install psmisc
now you can proceed in installing vmware-tools





