LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Problem installing vmware tools in Fedora Core 5. (https://www.linuxquestions.org/questions/fedora-35/problem-installing-vmware-tools-in-fedora-core-5-a-536712/)

HawkLawin 03-11-2007 11:55 PM

Problem installing vmware tools in Fedora Core 5.
 
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?

TIA

archtoad6 03-12-2007 09:54 AM

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

HawkLawin 03-12-2007 09:55 AM

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?

TIA

HawkLawin 03-12-2007 10:03 AM

Quote:

Originally Posted by archtoad6
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.

archtoad6 03-12-2007 11:04 AM

HTH == "Hope This Helps", my name is Rick. :)

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.

HawkLawin 03-12-2007 11:31 AM

Quote:

Originally Posted by archtoad6
HTH == "Hope This Helps", my name is Rick. :)

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.

archtoad6 03-12-2007 01:43 PM

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.

HawkLawin 03-13-2007 04:22 PM

Thanks anyway.

bskrakes 03-15-2007 12:12 PM

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)

I found the following at this link: http://www.thoughtpolice.co.uk/vmwar...s-install.html

1. Install software needed by VMware Tools

1. Install packages to build the kernel modules

yum install gcc kernel-devel

2. Check the running kernel matches the kernel headers

uname -r # running kernel
rpm -q kernel-devel # installed kernel headers

3. If the two versions do not match, run

yum -y upgrade kernel kernel-devel
reboot

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.

Hope this helps!

HawkLawin 03-17-2007 06:25 PM

Thanks a lot. I will try that this evening and let you know the results tomorrow. :)

archtoad6 03-20-2007 07:31 AM

Well?, any luck?


All times are GMT -5. The time now is 01:25 AM.