LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-27-2003, 02:29 AM   #1
regorbro
Member
 
Registered: Jun 2003
Location: Australia
Distribution: FC7
Posts: 37

Rep: Reputation: 15
Exclamation VMware 4 and Red Hat 9.0


I am trying to install VMware 4.0.0-4460 under Red hat 9,0, kernel 2.4.20-18.9. The installer asks for the location of the directory of C header files, but the default example does not exist in this distribution.

Does anyone know where it is located?
 
Old 06-27-2003, 04:15 AM   #2
soob
Member
 
Registered: May 2003
Location: A country town, Australia
Distribution: Debian
Posts: 72

Rep: Reputation: 15
The kernel headers are in /usr/src/linux-2.4/include - which would not exist unless you have installed the kernel-source (or kernel-headers?) package. Or do they want /usr/include .. what is the default they give?
 
Old 06-27-2003, 06:17 AM   #3
jhaprins
Member
 
Registered: Jun 2003
Distribution: RedHat
Posts: 48

Rep: Reputation: 15
I have the same thing running here and it works just fine. Just install your kernel-source package and you should be ready.
 
Old 06-27-2003, 09:15 PM   #4
regorbro
Member
 
Registered: Jun 2003
Location: Australia
Distribution: FC7
Posts: 37

Original Poster
Rep: Reputation: 15
Thanks wata ... where can you download the source code from? I can only find the rpm or tarball on the vmware.org site

as for acid_kewpie, whilst the absence of a formal question may be a seriously stumbling block for the linguistically challenged, it seems other readers understood
 
Old 06-28-2003, 04:23 AM   #5
jhaprins
Member
 
Registered: Jun 2003
Distribution: RedHat
Posts: 48

Rep: Reputation: 15
The kernel source package is on your redhat distributions CD's. For the vmware sources that are needed to compile the proper modules, they come with the package and are installed when you install vmware.

You need the package named:
kernel-source-'uname -r'.i386.rpm
So that is probebly something like: kernel-source-2.4.20-18.9.i386.rpm
If you install that with rpm -ihv kernel-source-2.4.20-18.9.i386.rpm you should be readdy to do the vmware final setup.
 
Old 06-29-2003, 10:10 AM   #6
BeXplosive
LQ Newbie
 
Registered: Jun 2003
Location: Dallas, TX
Distribution: Redhat 9
Posts: 9

Rep: Reputation: 0
I finally got the Vmware "C Header File" problem fixed. So everybody out there having the same problem, listen up. This was in RH9, by the way.

in /usr/src if there is not a /linux.2.4 or /linux.2.4.20-8 or something of that nature, then you MUST install the kernel development tools. This will install the kernel-source correctly. I tried just installing the kernel-source rpm, but it didnt work.

for you newbies, you can find the "add-remove applications" under system settings and run that. it's a nice graphical tool. scroll down and check the kernel development. fyi: you will need disk 2 and 3 if you are in RH9.

after you install that, head back to the /usr/src and you will see you a couple new folders. head into the /usr/src/linux.2.4.20-8/include and you will see all the good stuff that vmware is looking for, like the asm, net, and linux.

so when it asks, where are the c header files? [/usr/src/linux/include]

obviously that is not the right place, just type in the path correctly, and you will be rockin! hope that helps!
 
Old 07-14-2003, 08:34 AM   #7
mozonash
LQ Newbie
 
Registered: Jul 2003
Location: Edina MN
Distribution: RH 9
Posts: 3

Rep: Reputation: 0
Just a note to say that this thread has been useful.... Note that when I ran the VMWare tools init script after installing kernel tools, the default path for the headers updated to the correct path (for what I had just installed).
 
Old 08-18-2003, 10:53 PM   #8
Nebu Pookins
LQ Newbie
 
Registered: Aug 2003
Location: Canada
Distribution: Redhat Shrike
Posts: 6

Rep: Reputation: 0
I'm having the same problem. Running Redhat 9.0 with Kernel 2.4.20-19.9.

I tried installing the Kernel Development tools, and that didn't seem to create any new files or directories in my /usr/src directory (which only contains two directories: "debug" and "redhat").

When I do "locate asm", I get "/usr/include" as a possible directory, but when I give this directory to vmware, it tells me "The directory of kernel headers (version 2.4.20) does not match your running kernel (version 2.4.20-19.9). Even if the module were to compile successfully, it would not load into the running kernel."

I'm at quite a lost as to what to try next.
 
Old 08-19-2003, 02:16 AM   #9
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
While everybody in this thread are attempting to install or configure VMware, I suggest you make a symbolic link that directs from /usr/src/linux to your linux kernel directory. This will make it easy for future programs that you want compile.

Nebu, you need to installed your 2.4.20-19.9 kernel source code or copy it to /usr/src. You can either get it off the CD or find it from Redhat's site. You will also need a compiler.
 
Old 08-19-2003, 02:40 AM   #10
fat_anis
LQ Newbie
 
Registered: Jul 2003
Location: Tunisia
Posts: 12

Rep: Reputation: 0
How to run XP ??

I have VMware 4 and Red Hat 8
How can i run Win XP with VMware 4
must i install the VMware 4 tools
waiting for your advices
thanks
 
Old 08-19-2003, 05:06 AM   #11
Nebu Pookins
LQ Newbie
 
Registered: Aug 2003
Location: Canada
Distribution: Redhat Shrike
Posts: 6

Rep: Reputation: 0
Quote:
Originally posted by Electro
Nebu, you need to installed your 2.4.20-19.9 kernel source code or copy it to /usr/src. You can either get it off the CD or find it from Redhat's site. You will also need a compiler.
=P Thanks...

I've ran " up2date libacl-devel libattr-devel tk kernel-source" which would install the latest versions (according to Redhat) of all the kernel development tools, including the latest version of the kernel source code.

I probably should have mentioned that in my previous post.

Any ideas why installing kernel-2.4.20-19.9.src.rpm would make no visible change to my "/usr/include" directory?

Edit: Sorry for the originally "ungrateful" tone. I had misread your last sentence to say "You will also need a computer" and thought you were getting sarcastic with me. It's 6 in the morning. Sorry. =/

Last edited by Nebu Pookins; 08-19-2003 at 05:07 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vmware+red Hat dimitri358 Linux - Software 2 03-24-2004 10:35 AM
Red Hat & VMWARE mysticpain Linux - Software 16 02-22-2004 04:03 PM
VMWare 4 With Red Hat Linux 9 Cybo Linux - Software 3 11-19-2003 04:11 AM
VMware under Red hat 9.0 regorbro Linux - Software 6 06-29-2003 08:41 PM
VMWare and Red Hat 8 GhouL Linux - Distributions 11 03-31-2003 06:06 AM


All times are GMT -5. The time now is 07:43 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