how can I install vmware on CentOS 5.0!!!
Downloaded both latest CentOS and vmware server for Linux.
Installation is fine, but when it gets to vmware, it is SUCH A PAIN. it's vmconfig.pl part 1. it wanted GCC, which I googled it and got it pass. 2. now it says: What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] Googled it and installed a whole bunch of kernel stuff, but still couldn't figure out how to go pass this part. Please help!!! |
Install the kernel-headers and kernel-devel rpms for your running kernel;
yum install kernel-devel kernel-headers BTW: it is not a good idea to install vmware when using a xen kernel. |
How do I do this? When I tried, it automatically downloads from the Internet.
Quote:
|
Quote:
Once the kernel headers are installed, then you should be able to compile things. |
Quote:
|
After installing that, I even rebooted, still no go.
Quote:
|
Quote:
|
You did not state that you were running a xen kenel, this requires the kernel-xen-devel rpm package to be installed in also. Do not expect vmware to run as fast as normal if your running in the virtual xen environment.
|
Same error messege:
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] # uname -r shows: 2.6.18-8.el5xen |
You need to specify where the files are, have a look at the /usr/src directory please. Hint: they are in someplace else (/usr/src/kernel).
Also see; http://www.centos.org/modules/newbb/...=8090&forum=38 |
I am sorry I have no idea what to do. *cry
Quote:
|
When the question is asked;
Quote:
Hint: ls -al /lib/modules/`uname -r`/build That is the backtick character in the above command just above the 'Tab' key on most keyboards. Example results; $ ls -al /lib/modules/`uname -r`/build lrwxrwxrwx 1 root root 23 Aug 16 08:02 /lib/modules/2.6.22.3/build -> /usr/src/linux-2.6.22.3 The part after the '->' portion is what you want to type. |
Here's what says now:
What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.18-8.1.8.el5xen/build/include] Extracting the sources of the vmmon module. Building the vmmon module. Building for VMware Server 1.0.0. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config0/vmmon-only' make -C /lib/modules/2.6.18-8.1.8.el5xen/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/kernels/2.6.18-8.1.8.el5-xen-i686' 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/comport.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 gcc: error trying to exec 'cc1plus': execvp: No such file or directory make[2]: *** [/tmp/vmware-config0/vmmon-only/common/task.o] Error 1 make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.1.8.el5-xen-i686' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config0/vmmon-only' Unable to build the vmmon module. For more information on how to troubleshoot module-related problems, please visit our Web site at "http://www.vmware.com/download/modules/modules.html" and "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html". Execution aborted. |
I did this and everything worked:
yum install gcc* The experience is not so happy i would say. On a Windows machine, it's double-click, then done. |
Good for you, your learned something new today glad to hear it.
You might want to install the latest version of vmware-any-any-update, direct link to the file; http://platan.vc.cvut.cz/ftp/pub/vmw...date113.tar.gz After download and extraction type: ./rumme.pl |
All times are GMT -5. The time now is 07:28 AM. |