LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 03-11-2007, 11:55 PM   #1
HawkLawin
LQ Newbie
 
Registered: May 2006
Location: NorCal
Posts: 12

Rep: Reputation: 0
Unhappy 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
 
Old 03-12-2007, 09:54 AM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
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
 
Old 03-12-2007, 09:55 AM   #3
HawkLawin
LQ Newbie
 
Registered: May 2006
Location: NorCal
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 03-12-2007, 10:03 AM   #4
HawkLawin
LQ Newbie
 
Registered: May 2006
Location: NorCal
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 03-12-2007, 11:04 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
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.
 
Old 03-12-2007, 11:31 AM   #6
HawkLawin
LQ Newbie
 
Registered: May 2006
Location: NorCal
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 03-12-2007, 01:43 PM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
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.
 
Old 03-13-2007, 04:22 PM   #8
HawkLawin
LQ Newbie
 
Registered: May 2006
Location: NorCal
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks anyway.
 
Old 03-15-2007, 12:12 PM   #9
bskrakes
Member
 
Registered: Sep 2006
Location: Canada, Alberta
Distribution: RHEL 4 and up, CentOS 5.x, Fedora Core 5 and up, Ubuntu 8 and up
Posts: 251

Rep: Reputation: 32
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!
 
Old 03-17-2007, 06:25 PM   #10
HawkLawin
LQ Newbie
 
Registered: May 2006
Location: NorCal
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks a lot. I will try that this evening and let you know the results tomorrow.
 
Old 03-20-2007, 07:31 AM   #11
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Well?, any luck?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing vmware tools in backtrack ?? cyberiapost Linux - Newbie 6 11-01-2008 11:22 PM
installing vmware tools citrus Linux - General 6 09-08-2006 10:11 AM
VMWare - Installing VMWare Tools Nightmare jerkmonkee Linux - Newbie 2 11-14-2004 05:52 PM
fedora core 3 test 1 install VMware problem dclee9 Linux - Software 0 09-06-2004 07:05 PM
Problem with VMWare and Fedora Core 1 ashusharma Linux - Software 0 12-11-2003 03:01 AM


All times are GMT -5. The time now is 11:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration