+2

Installing Vmware Server 1.03 on PCLinuxOS 2007

Linux, Virtualization

Recently I got the bug to try out a different Linux distribution on my laptop. I have been a die-hard Ubuntu user since I made the switch full time (haven't looked back since!), so after trying and failing to install Gentoo (guess I'm not L33T enough for that distro yet) I landed on PCLinuxOS 2007.

Once I got my development environment configured just like I like it, it was time to install a Windows VM so I can run some applications that I need at my day job (IE6,IE7, Flexbuilder, etc). For this purpose, I elected to use Vmware Server 1.03 (we already had that tarball downloaded).

When installing, I encountered an installation error that turned out to be somewhat commonplace.

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.22.15.tex2/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules 
make[1]: Entering directory `/usr/src/linux-2.6.22.15.tex2' CC [M] 
/tmp/vmware-config0/vmmon-only/linux/driver.o In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80: /tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 
error: expected declaration specifiers or ... before compat_exit 
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 
error: expected declaration specifiers or ... before exit_code 
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: 
warning: type defaults to int in declaration of _syscall1 
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1 
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2 
make[1]: Leaving directory `/usr/src/linux-2.6.22.15.tex2' 
make: *** [vmmon.ko] 
Error 2 make: Leaving directory `/tmp/vmware-config0/vmmon-only' Unable to build the vmmon module.

To get past this error, a quick Google search turned up a patch called the "vmware-any-any-update" that needed to be run. (get that here).

Ok, so that fixed the first error but then I ran into this...

Building the vmmon module. 
Building for VMware Server 1.0.0. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config1/vmmon-only' make -C /lib/modules/2.6.22.15.tex2/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules 
make[1]: Entering directory `/usr/src/linux-2.6.22.15.tex2' CC [M]
 /tmp/vmware-config1/vmmon-only/linux/driver.o CC [M] 
/tmp/vmware-config1/vmmon-only/linux/driverLog.o CC [M] 
/tmp/vmware-config1/vmmon-only/linux/hostif.o CC [M] 
/tmp/vmware-config1/vmmon-only/common/comport.o CC [M] 
/tmp/vmware-config1/vmmon-only/common/cpuid.o CC [M] 
/tmp/vmware-config1/vmmon-only/common/hash.o CC [M] 
/tmp/vmware-config1/vmmon-only/common/memtrack.o CC [M] 
/tmp/vmware-config1/vmmon-only/common/phystrack.o CC [M] 
/tmp/vmware-config1/vmmon-only/common/task.o gcc: error trying to exec 'cc1plus': execvp: No such file or directory 
make[2]: *** [/tmp/vmware-config1/vmmon-only/common/task.o] Error 1 make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2 
make[1]: Leaving directory `/usr/src/linux-2.6.22.15.tex2' make: *** [vmmon.ko] Error 2 
make: Leaving directory `/tmp/vmware-config1/vmmon-only' 

Unable to build the vmmon module.

Another quick trip through the Google search told me that I just didn't have g++ installed. The easy way to find this package is to just open Synaptic and do a search for "g++".

Starting VMware services: Virtual machine monitor [ OK ]
Virtual ethernet [ OK ] 
Bridged networking on /dev/vmnet0 [ OK ] 
Host-only networking on /dev/vmnet1 (background) [ OK ] 
Host-only networking on /dev/vmnet8 (background) [ OK ] 
NAT service on /dev/vmnet8 [ OK ] 

The configuration of VMware Server 1.0.3 build-44356 for Linux for this running kernel completed successfully.

 
How much ram do you have. I'm finding that even with 2gig ram running Flexbuilder and VMware my mac seams to be thrashing alot. I'm considering upping the memory again.
 
posted 623 days ago
Add Comment Reply to: this comment OR this thread
 
JJ said:
 
Guys, I am experiencing the same issue, only after installing g , the error persists.

Thank you in advance for your thoughts.
 
posted 521 days ago
Add Comment Reply to: this comment OR this thread
 

Search

Fuelly