Red Hat This forum is for the discussion of Red Hat Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
08-15-2007, 08:57 PM
|
#1
|
Member
Registered: Aug 2007
Posts: 80
Rep:
|
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!!!
Last edited by TheStupid; 08-15-2007 at 10:53 PM.
|
|
|
08-16-2007, 06:38 AM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
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.
|
|
|
08-16-2007, 08:05 AM
|
#3
|
Member
Registered: Aug 2007
Posts: 80
Original Poster
Rep:
|
How do I do this? When I tried, it automatically downloads from the Internet.
Quote:
Originally Posted by Lenard
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.
|
|
|
|
08-16-2007, 08:16 AM
|
#4
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by TheStupid
How do I do this? When I tried, it automatically downloads from the Internet.
|
When you are using the package manager, it goes to the repositories (on the internet) to get the files. So the above is normal.
Once the kernel headers are installed, then you should be able to compile things.
|
|
|
08-16-2007, 08:18 AM
|
#5
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by Lenard
BTW: it is not a good idea to install vmware when using a xen kernel.
|
Why? I thought a "xen kernel" simply was enabled to allow use of xen. Why would that preclude using another VM--VWware, QEMU, etc.?
|
|
|
08-16-2007, 08:24 AM
|
#6
|
Member
Registered: Aug 2007
Posts: 80
Original Poster
Rep:
|
After installing that, I even rebooted, still no go.
Quote:
Originally Posted by pixellany
When you are using the package manager, it goes to the repositories (on the internet) to get the files. So the above is normal.
Once the kernel headers are installed, then you should be able to compile things.
|
|
|
|
08-16-2007, 08:27 AM
|
#7
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by TheStupid
After installing that, I even rebooted, still no go.
|
details? error messages?
|
|
|
08-16-2007, 08:38 AM
|
#8
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
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.
|
|
|
08-16-2007, 08:59 AM
|
#9
|
Member
Registered: Aug 2007
Posts: 80
Original Poster
Rep:
|
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
|
|
|
08-16-2007, 09:38 AM
|
#10
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
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
|
|
|
08-16-2007, 09:56 AM
|
#11
|
Member
Registered: Aug 2007
Posts: 80
Original Poster
Rep:
|
I am sorry I have no idea what to do. *cry
Quote:
Originally Posted by Lenard
|
|
|
|
08-16-2007, 10:10 AM
|
#12
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
When the question is asked;
Quote:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
|
supply the location by typing in the path; /usr/src/kernel<the rest of the path>
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.
|
|
|
08-16-2007, 10:31 AM
|
#13
|
Member
Registered: Aug 2007
Posts: 80
Original Poster
Rep:
|
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.
Last edited by TheStupid; 08-16-2007 at 10:41 AM.
|
|
|
08-16-2007, 10:58 AM
|
#14
|
Member
Registered: Aug 2007
Posts: 80
Original Poster
Rep:
|
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.
|
|
|
08-16-2007, 11:55 AM
|
#15
|
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
|
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
Last edited by Lenard; 08-16-2007 at 11:57 AM.
|
|
|
All times are GMT -5. The time now is 02:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|