Friday, February 17, 2012

How do I compile native drivers for vmware servers?


The latest version of vmware tools (published on or after May 26, 2011), vmware tools should compoile without any problems.
Make sure you install kernel-devel package (or if you run PAE/ent/xen kernel -- corresponding kernel-xxx-devel package), and run vmware-config-tools.pl.
If you get some compile time errors when compiling vmware tools, try upgrading to latest version of vmware tool, or try applying patch as explained bellow.

We are providing script http://repo.cloudlinux.com/cloudlinux/sources/cloudlinux-vmware-tools-patch.sh
It should be executed after installation of vmware-tools, but before you run vmware-config-tools.pl


Here is an example:
[root@localhost /]# ls /opt/usr
bin doc include lib sbin
[root@localhost /]# ./cloudlinux-vmware-tools-patch.sh
Could not found vmware tools lib in /usr/lib/vmware-tools.
Enter path to the vmware-tools libs directory
or install prefix[/usr/lib/vmware-tools]: /opt
found /opt/usr/lib/vmware-tools/modules/source
patching file vmxnet3-only/shared/compat_netdevice.h
Hunk #1 succeeded at 296 with fuzz 2.
patching file vmxnet-only/shared/compat_netdevice.h
Hunk #1 succeeded at 296 with fuzz 2.

0 comments:

Post a Comment