Inhaltsverzeichnis
Installation VMware 1.0.x (Kernel 2.6.26)
Basis: Debian 5 - Lenny
Getestet mit: VMware-server-1.0.9-156507.tar.gz
Patch: vmware-any-any-update117-itpsycho.tar.bz2 (Quelle)
Kernel: 2.6.26-2-686 SMP
Benötigte Pakete
- build-essential
- linux-headers-2.6-686 (installiert dann auch automatisch gcc 4.1)
- psmisc
- xinetd
- libxtst6
- libxt6
- libice6
- libsm6
- libxi6
- libxrender1
- g++-4.1
apt-get install build-essential linux-headers-2.6-686 psmisc xinetd libxtst6 libxt6 libice6 libsm6 libxi6 libxrender1 g++-4.1
Installation
tar zxvf VMware-server-1.0.9-156507.tar.gz cd vmware-server-distrib ./vmware-install.pl
Before running VMware Server for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this program to invoke the command for you now? [yes] no
cd .. tar jxvf vmware-any-any-update117-itpsycho.tar.bz2 cd vmware-any-any-update117-itpsycho ./runme.pl
Probleme
Your kernel was built with "gcc" version "4.1.3", while you are trying to use "/usr/bin/gcc" version "4.3.2". This configuration is not recommended and VMware Server may crash if you'll continue. Please try to use exactly same compiler as one used for building your kernel. Do you want to go with compiler "/usr/bin/gcc" version "4.3.2" anyway? [no] no
GCC zeigt hier noch auf die falsche Version
Lösung Temporär
export CC=/usr/bin/gcc-4.1
Lösung Dauerhaft
ln -sf /usr/bin/gcc4.1 /usr/bin/gcc
Ergebnis
Die Module compilen alle ohne Probleme.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686' cp -f vmmon.ko ./../vmmon.o make: Leaving directory `/tmp/vmware-config0/vmmon-only' The module loads perfectly in the running kernel.
Building the vmnet module. make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686' cp -f vmnet.ko ./../vmnet.o make: Leaving directory `/tmp/vmware-config0/vmnet-only' The module loads perfectly in the running kernel.
Starting VMware services: Virtual machine monitor done Virtual ethernet done Bridged networking on /dev/vmnet0 done Host-only networking on /dev/vmnet1 (background) done Host-only networking on /dev/vmnet8 (background) done NAT service on /dev/vmnet8 done The configuration of VMware Server 1.0.9 build-156507 for Linux for this running kernel completed successfully.