Home / Installing VMWare on Gentoo

Installing VMWare on Gentoo

After attempting to install VMWare on Gentoo Linux you may get thefollowing error message when trying to run the vmware-config.pl
configuration script:

vmware-config.pl
Making sure
services for VMware Workstation are stopped.

/etc/init.d/vmware: line 919: [: -: integer expression expected
Stopping VMware services:
Virtual machine monitor failed
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet8
done
NAT service on /dev/vmnet8 done
Host-only networking on
/dev/vmnet8 done
Virtual ethernet failed
Unable to stop
services for VMware Workstation

Execution aborted.

If you are getting errors like this, the following way of installing
VMWare on Gentoo may solve the problem. Make sure you do the following as
the root user (you may need to reboot in order to get all the processes to
actually stop, or do a “ps ax | grep vm” and kill the
vmware processes that are still running):

mkdir /etc/vmware
touch
/etc/vmware/not_configured
emerge vmware-workstation
/opt/vmware/bin/vmware-config.pl

You should then be able to launch VMWare from
/opt/vmware/bin/vmware

Note that you may also need to enable module unloading in Gentoo to be
able to shut the VMWare processes down again. In the Linux 2.6 kernel you
do this in "make menuconfig"; there is an option called
"Loadable module support" with sub option
"Module unloading". Select this, recompile the kernel
and reboot.