After this completes, run vmware-config.pl again as root:
Code:
sudo vmware-config.pl Making sure services for VMware Workstation are stopped.
Stopping VMware services: Virtual machine monitor done Bridged networking on /dev/vmnet0 done DHCP server on /dev/vmnet1 done Host-only networking on /dev/vmnet1 done DHCP server on /dev/vmnet8 done NAT service on /dev/vmnet8 done Host-only networking on /dev/vmnet8 done Virtual ethernet done
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons? [/usr/share/icons]
What directory contains your desktop menu entry files? These files have a .desktop file extension. [/usr/share/applications]
In which directory do you want to install the application's icon? [/usr/share/pixmaps]
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.15-26-amd64-generic/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vmmon-only' make -C /lib/modules/2.6.15-26-amd64-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.15-26-amd64-generic' CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config0/vmmon-only/common/task.o CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o Building modules, stage 2. MODPOST CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-26-amd64-generic' cp -f vmmon.ko ./../vmmon.o make: Leaving directory `/tmp/vmware-config0/vmmon-only' The module loads perfectly in the running kernel.
This program previously created the file /dev/vmmon, and was about to remove it. Somebody else apparently did it already.
This program previously created the file /dev/parport1, and was about to remove it. Somebody else apparently did it already.
This program previously created the file /dev/parport2, and was about to remove it. Somebody else apparently did it already.
This program previously created the file /dev/parport3, and was about to remove it. Somebody else apparently did it already.
This program previously created the file /dev/vmnet0, and was about to remove it. Somebody else apparently did it already.
This program previously created the file /dev/vmnet1, and was about to remove it. Somebody else apparently did it already.
This program previously created the file /dev/vmnet8, and was about to remove it. Somebody else apparently did it already.
You have already setup networking.
Would you like to skip networking setup and keep your old settings as they are? (yes/no) [yes]
Extracting the sources of the vmnet module.
Building the vmnet module.
Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vmnet-only' make -C /lib/modules/2.6.15-26-amd64-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-headers-2.6.15-26-amd64-generic' CC [M] /tmp/vmware-config0/vmnet-only/driver.o CC [M] /tmp/vmware-config0/vmnet-only/hub.o CC [M] /tmp/vmware-config0/vmnet-only/userif.o CC [M] /tmp/vmware-config0/vmnet-only/netif.o CC [M] /tmp/vmware-config0/vmnet-only/bridge.o CC [M] /tmp/vmware-config0/vmnet-only/procfs.o CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x86_64.o LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o Building modules, stage 2. MODPOST Warning: could not open /tmp/vmware-config0/vmnet-only/includeCheck.h: Invalid argument CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-26-amd64-generic' 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 Workstation 5.5.0 build-18463 for Linux for this running kernel completed successfully.
You can now run VMware Workstation by invoking the following command: "/usr/bin/vmware".
Enjoy,
--the VMware team
From the above, the most important part is that the linux headers are now at the correct location (also needed when compiling other programs)
Code:
What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.15-26-amd64-generic/build/include]
Another way to do this, but harder....
Download the linux kernel source for the kernel version you are running, i.e. if you are running 2.6.15-26, get the sources to 2.6.15
Move the downloaded file to /usr/src:
Code:
mv linux-2.6.15.tar.gz /usr/src/
Extract the files to /usr/src:
Code:
tar xzfv /usr/src/linux-2.6.15.tar.gz
If you downloaded the bz2 kernel source, use this command:
Code:
tar xjf /usr/src/linux-2.6.15.bz2
create a symlink to the folder linux-2.6.15 called linux:
Code:
ln -s linux-2.6.15 linux
Copy the kernel config file for your currently running kernel to the new /usr/src/linux directory and rename it to .config:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
All content Copyright 2000 - 2008, Maysville Linux Users Group unless otherwise credited.
All Rights Reserved!
The opinions expressed by visitors to this web site are their own and not necessarily the opinions of the MLUG!