LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-19-2003, 02:22 AM   #1
Phil Healey
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat 9.0
Posts: 25

Rep: Reputation: 15
VMware installation problem


Hi, I just installed Redhat 9.0 on my Dell Dimension 4550. I use my computer for work, and I use Windows-only applications, so I thought I would try out VMware. I downloaded the trial version and ran the rpm, and had no trouble with that. The problem came when I ran the configuration file, it told me that none of VMware's pre-built vmmon modules are suitable for my kernel, and offered to try to compile one on its own. It tried to use gcc, but apparently my "C header files" are incompatible with the kernel I'm running. It wanted me to point it to the correct directory. The /include directory, which it was looking for turns out to be in two places: /usr/local/include and /usr/include. The former is just empty.

Can anybody help?

Thanks,
Marc
 
Old 06-19-2003, 11:06 AM   #2
StereoNap
LQ Newbie
 
Registered: Jun 2003
Location: Germany
Distribution: Suse 8.2
Posts: 11

Rep: Reputation: 0
hello,

i had the same problem a time ago but there is something you can do:

your kernel sources should be in /usr/src/linux .

go to the directory /usr/src/linux/include/linux and change the kernel version name in version.h to the name of your running kernel. this should let vmware compile the modules for you.

worked for me.
 
Old 06-25-2003, 03:32 PM   #3
Phil Healey
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
Just a quick follow-up:

It turned out that the problem lay in the fact that I was booting from a bootdisk which had a kernel of the wrong version. I ran mkboodisk with the correct kernel version, rebooted, and the problem was solved.

Also, the default location for the C header files wasn't the one it suggested, but somewhere else (... ummm, yeah, I'm a newbie, I forget where. /lib/modules/something?)

Phil
 
Old 06-29-2003, 12:09 AM   #4
BeXplosive
LQ Newbie
 
Registered: Jun 2003
Location: Dallas, TX
Distribution: Redhat 9
Posts: 9

Rep: Reputation: 0
I wouldnt change the version.h file as suggested earlier. I've been having the same problem with vmware (and I yet have to fix it) but just changing the version.h file wont help.

vmware is not only using the version name in the header files. it will crap out on ya.
 
Old 06-29-2003, 10:10 AM   #5
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!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vmware installation problem DoctorVell Linux - Software 6 05-25-2005 01:27 AM
vmware installation problem dd_682000 Linux - Software 1 07-26-2004 04:09 PM
VMWare Tools Installation problem on Gentoo: Runlevels Wolfbeast Linux - Software 1 07-21-2004 03:17 AM
VMware 3.2 Installation- Kernel problem mjkchi Linux - Software 3 12-02-2003 08:56 PM
vmware-installation-problem under kernel 2.4.4 (debian woody) indy Linux - Software 0 07-25-2001 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration