How to Install VMware server on Fedora 6 64 bit with kernel 2.6.20
Before install VMware server you have to install some libraries and tools, to install them go to Application --> Add/Remove Software-->Browse and then select :
- Development > Development Libraries
- Development > Development Tools
Download VMware server and get a serial here http://www.vmware.com/download/server/ ( click registration for the serial number ) . Download the tar.gv versione and not the rpm file .Then Open a terminal and become root, and type :tar xvfz VMware-server-*.tar.gzand after : cd vmware-server-distrib./vmware-install.planswer the installation question , if you don't know leave the default one .Most probabily you have this error:Can't config VMware anymore because of the VMMON module:
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.20-1.2925.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2925.fc6-x86_64'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2925.fc6-x86_64'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
What you have to do
- As root, cd to /usr/lib/vmware/modules/source
- untar vmmon.tar and then move vmmon.tar to vmmon.tar.orig (just to be safe)
- edit ./vmmon-only/include/compat_kernel.h and comment out line 21 with 2 slashes: //static inline _syscall1(int, compat_exit, int, exit_code);
- tar vmmon-only and rename resultant archive to vmmon.tar.
- run vmplayer-config.pl
, restart the ws and open a terminal and type vmware and enjoy ...
