Compiling VMware-Server on Ubuntu 7.10

After applying the vmware-any-any-update patch following error occurs when using vmware-config.pl to update the virtualizer software.

gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[2]: *** [/tmp/vmware-config1/vmmon-only/common/task.o] Fehler 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Fehler 2
make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.24-19-generic'
make: *** [vmmon.ko] Fehler 2
make: Verlasse Verzeichnis '/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.

The C++ compiler is needed to compile VMWare server kernel modules, which is not included in the build-essential package. Simply use

sudo apt-get install g++

and start vmware-config.pl as root again.

No comments: