The description that helped the best, actually, the only one at which I looked, is located at eitch's blog.
It goes like this:
- cd /usr/lib/vmware/modules/source
- cp vmmon.tar vmmon.tar.orig
- sudo tar xvf vmmon.tar
- cd vmmon-only/include/
- sudo vi vcpuset.h
- change line 74 from: #include .asm/bitops.h. to: #include .linux/bitops.h.
- cd ../..
- rm vmmon.tar
- sudo tar cvf vmmon.tar vmmon-only/
- sudo rm -rf vmmon-only/
- sudo vmware-config.pl
In addition, with Debian lenny, the gcc-4.2 compiler is installed. It looks like gcc-4.1
is also installed. If both are installed, the vmware-config.pl script asks for a cpp
compiler. At the prompt, supply gcc-4.1. If the compiler isn't resident, then use
'apt-get install gcc-4.1' to get it.
The installation works with the latest kernel available at the time. As headers are
required for the custom vmware build, the following worked for the kernel and headers:
'install linux-headers-2.6.24-1-686 linux-image-2.6.24-1-686'.