How to compile and run VMware Workstation on Debian

The information provided in this article is based on Debian testing (Squeeze). It is impossible to run VMware workstation out of the box due to errors on modules compilation.

All you need is to patch 2 files. Follow the instructions below:

To patch VMware modules we have to add #include “compat_sched.h” to some files.

# cd /tmp
# tar xf /usr/lib/vmware/modules/source/vmnet.tar
# vi vmnet-only/vnetUserListener.c (near line 37 add #include "compat_sched.h")
# tar cf /usr/lib/vmware/modules/source/vmnet.tar vmnet-only
# tar xf /usr/lib/vmware/modules/source/vmci.tar
# vi vmci-only/linux/vmciKernelIf.c vmci-only/include/pgtbl.h (add #include "compat_sched.h" around 30 line)
# tar cf /usr/lib/vmware/modules/source/vmci.tar vmci-only
# vmware-modconfig --console --install-all

Posted on: 12/05/2010








0 Comments
If you want to leave a comment please Login or Register