FedoraThis forum is for the discussion of the Fedora Project.
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.
I've installed Fedora core 5 in a VMWare workstation v5.5.2. I'm installing vmware tools from /tmp/vmware-tools-distrib/vmware-install.pl. I've gone through sorts of questions and accepted the defaults until it ask for; "What is the location of the "gcc" program on your computer?". I'm stuck. Can anyone let me know what it is looking for and where should I point it to?
Let me warn you, I haven't (yet) installed VMserver on a Linux host.
gcc is the GNU C Compiler. You can find it with:
Code:
locate gcc | less -S
You may well get more output than you bargained for, ergo less; & make sure to put in the "-S" option, it unfolds the long output lines that locate tends produce.
Another problem, this time it's about the kernel-header
I think I got the gcc problem sorted out but I'm not sure. I just installed the gcc package from the RPMS directory of CD2. But I got another problem. Here's what's asking this time: "What's the location of the directory of C header files that match your running kernel?" I thought it was in /usr/src/linux but there is no linux directory but instead, it's Redhat but it's empty. Anyone who can help?
Let me warn you, I haven't (yet) installed VMserver on a Linux host.
gcc is the GNU C Compiler. You can find it with:
Code:
locate gcc | less -S
You may well get more output than you bargained for, ergo less; & make sure to put in the "-S" option, it unfolds the long output lines that locate tends produce.
HTH
HTH, thanks so much for the reply. It gave me a long list of information regarding gcc. The host is a XP Pro machine.
in != on
Oops, I didn't read your post closely enough. Besides, the problems you were having sound a lot like what I went through trying to install VMserver on SimplyMEPIS 3.3.2.
The deal breaker in that case was finding the right kernel headers in a stale repository. They are, apparently, no longer generally installed by default; so they weren't part of my original installation. Now, a couple of years later, they aren't available.
A word to the wise for everyone
Unless you are absolutely positive you will never need them, always install the headers for every kernel you put on a Linux box.
They are a package & the trick is they must exactly match the kernel. For instance, I am running kernel 2.6.12-586tsc (vmlinuz-2.6.12-586tsc) & it is not the same as kernel 2.6.12-1 (vmlinuz-2.6.12-1-586tsc), whose headers I was able to find. In the end, if want VMserver on this box, I will have to "update" my kernel in order to have one whose kernel headers I can obtain.
In Debian (& therefore SimplyMEPIS) the packages are named linux-image-<kernel> (the kernel) & linux-headers-<kernel> (the headers). The names kernel-image-<kernel> (the kernel) & kernel-headers-<kernel> (the headers), have also been used. I haven't used any RH based distros for about 5 years, so I can't tell you how .rpm's will differ from .deb's.
BTW, AFAIK, the headers are used by gcc to set up VMware tools.
in != on
Oops, I didn't read your post closely enough. Besides, the problems you were having sound a lot like what I went through trying to install VMserver on SimplyMEPIS 3.3.2.
The deal breaker in that case was finding the right kernel headers in a stale repository. They are, apparently, no longer generally installed by default; so they weren't part of my original installation. Now, a couple of years later, they aren't available.
A word to the wise for everyone
Unless you are absolutely positive you will never need them, always install the headers for every kernel you put on a Linux box.
They are a package & the trick is they must exactly match the kernel. For instance, I am running kernel 2.6.12-586tsc (vmlinuz-2.6.12-586tsc) & it is not the same as kernel 2.6.12-1 (vmlinuz-2.6.12-1-586tsc), whose headers I was able to find. In the end, if want VMserver on this box, I will have to "update" my kernel in order to have one whose kernel headers I can obtain.
In Debian (& therefore SimplyMEPIS) the packages are named linux-image-<kernel> (the kernel) & linux-headers-<kernel> (the headers). The names kernel-image-<kernel> (the kernel) & kernel-headers-<kernel> (the headers), have also been used. I haven't used any RH based distros for about 5 years, so I can't tell you how .rpm's will differ from .deb's.
BTW, AFAIK, the headers are used by gcc to set up VMware tools.
Hi Rick. I am really sorry. I thought that was your initial.
I've never used Deb before. I started learning Linux with version 5.0. I remember that /usr/src/linux used to be the location of the kernel. It seems that a lot had changed since then. I've never used Linux since 1999. I am just starting again with Fedora core 5.
Yes, the headers are used by gcc to set up the vmware tools.
No harm done, I had to Google "HTH" the 1st time I saw it.
BTW, (he said, trying to be tactful & low key, using size & color to de-emphasize the point) it really isn't necessary to quote the entire post you're responding to -- especially when it's immediately above your reply . It doesn't just waste space, which they have plenty of, but it tends to overwhelm & obscure your reply. You do want your response to get read, don't you? Anyway, that's what Jeremy gave us the "Edit" button for.
I only mention .deb's because that is my recent experience. I'm hoping there are parallels in the .rpm world & therefore they are helpful.
Distribution: RHEL 4 and up, CentOS 5.x, Fedora Core 5 and up, Ubuntu 8 and up
Posts: 251
Rep:
Vmware Tools in Fedora Core 5
Ok so I read through the thread and it is really confusing..... if you are runnging FC5 all you need to do is the following: (I am only running VMware Server so I can not say for sure this will work, but from what I have read all installs are the same on FC because VMware doesn't have a rpm that builds for the kernel)
4. Find out where the kernel headers are (you may need this later)
ls -d /usr/src/kernels/$(uname -r)*/include
The rest is continued in the link above, once you get through this part though you shouldn't have any problems. You may also want to check this link: http://tredosoft.com/node/9. Most of the help guides you find on the web are very similar although this one shows your kernel in a different spot, also note that FC5 uses silly sim-links.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.