PeterUK
09-03-2009, 10:55
I also made a very detailed guide on installing VMWare for Ubuntu, I don't imagine it would be very different for your situation.
http://forum.ovh.co.uk/showthread.php?t=933
http://forum.ovh.co.uk/showthread.php?t=933
cd /usr/src/linux-2.6.28.1-xxxx-vmware-ipv4-32
cp /boot/config-2.6.28.4-xxxx-vmware-ipv4-32 .config <<< I didn't realise I made this mistake when I did it, I just clicked tab and assumed it was the version!
make
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The directory of kernel headers (version 2.6.28.1-xxxx-vmware-ipv4-32) does not
match your running kernel (version 2.6.28.4-xxxx-vmware-ipv4-32). Even if the
module were to compile successfully, it would not load into the running kernel.
/var/vm/vmware-server-distrib# ./vmware-install.pl WARNING: Couldn't open directory /lib/modules/2.6.24.5-grsec-xxxx-grs-ipv4-32: No such file or directory FATAL: Could not open /lib/modules/2.6.24.5-grsec-xxxx-grs-ipv4-32/modules.dep.temp for writing: No such file or directory Unable to open kernel module dependency file .Execution aborted.