LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-22-2003, 01:11 PM   #1
cheeselegacy
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Rep: Reputation: 0
Unhappy VMWARE 4.0 problems installing on Redhat 9


Pardon my ignorance, I'm a windows user.

I've been trying to install/configure VMWARE 4.0 on an install of Redhat 9. I'm stuck when the config asks "What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]" . I've tried a few directories with no luck. I've also applied the vmware-any-any-update27 with no resulting change. Does version 4 even work with redhat 9 or am I more likely doing something wrong?

Please help.
 
Old 04-22-2003, 06:14 PM   #2
wlfdgcrkz
Member
 
Registered: Apr 2003
Location: North Hollywood Ca
Distribution: RedHat FreeBSD
Posts: 130

Rep: Reputation: 15
I was not able to complete my install either
 
Old 04-24-2003, 08:38 AM   #3
ritzlmayr
LQ Newbie
 
Registered: Apr 2003
Location: Austria
Distribution: RedHat
Posts: 17

Rep: Reputation: 0
You have to have your kernel sources installed (not default). The Installer should be able to autodetect your sources after that.
 
Old 04-24-2003, 10:59 AM   #4
cheeselegacy
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Where do I get the Kernel sources so I can install them?
 
Old 04-24-2003, 12:16 PM   #5
ritzlmayr
LQ Newbie
 
Registered: Apr 2003
Location: Austria
Distribution: RedHat
Posts: 17

Rep: Reputation: 0
they are on the redhat cd´s. To install them just execute redhat-config-packages and mark the checkbox next to kernel-development.
 
Old 04-24-2003, 03:00 PM   #6
cheeselegacy
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Installed Kernel-development but still getting the same error:

What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.
 
Old 04-24-2003, 04:48 PM   #7
ritzlmayr
LQ Newbie
 
Registered: Apr 2003
Location: Austria
Distribution: RedHat
Posts: 17

Rep: Reputation: 0
I checked on one of my boxes (also RH9) here it is /usr/src/linux-2.4/include
just for my curiosity I tried to install vmware: it works on my box with this directory
one thing you should keep in mind is that if you modify your kernel settings, for example if you want to compile your own customized kernel, you might get into trouble recompiling the vmware modules - that what happend to me with an older version of vmware - it took me a while to figure out what kernel settings vmware needs and wich are not allowed
if you would like to keep the default setting within the vmware installation then you also could make a symbolic link with the command
ln -s /usr/src/linux-2.4 /usr/src/linux
 
Old 04-24-2003, 05:41 PM   #8
cheeselegacy
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks. Making some progress now. I also compiled a customized kernel to get here, but I'm getting a different error message that looks a little more optimistic.

What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] /usr/src/linux-2.4/include

The directory of kernel headers (version 2.4.20-9) does not match your running kernel (version 2.4.20-8). Even if the module were to compile successfully, it would not load into the running kernel.
 
Old 04-24-2003, 05:50 PM   #9
ritzlmayr
LQ Newbie
 
Registered: Apr 2003
Location: Austria
Distribution: RedHat
Posts: 17

Rep: Reputation: 0
Interesting! Did you really get the sources from the cd´s? It doesn´t look so. 2.4.20-9 is an errata kernel from redhat not the one wich was shipped with rh9. Anyhow - of course your kernel and the sources have to match. Otherwise you are compiling a module for a different kernel.
 
Old 04-25-2003, 09:45 AM   #10
robble
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Rep: Reputation: 0
cheeselegacy:

It looks like you updated to the latest errata kernel without rebooting and starting it.

Reboot, start with -8 and give it a try.
 
Old 04-25-2003, 09:47 AM   #11
cheeselegacy
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
After recompiling the kernel to get the C headers in the right path, there are now two options on teh boot loader. the new linux custom kernel didn't work, but failed with some initrd problem. The old option loaded up fine and VMWARE is WORKING with the 2.4.20-9 kernel. Thanks for all the help.

Now how do I clean up the mess I created by recompiling the kernel and remove the orphaned files I probably left behind.

Last edited by cheeselegacy; 04-25-2003 at 09:51 AM.
 
Old 04-25-2003, 10:25 AM   #12
robble
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Rep: Reputation: 0
Wow cool, how did you do it? I'm still trying...

I have 2.4.20-9 running, but I get a compile error.

It does complain about my version of gcc, but it allows me to continue past that.

It blows up on "warning: VNetProcessOwnsPort' defined but not used
make: *** [driver.o] Error 1
Unable to build the vmnet module

---Oh sweet I just got it running, the RPM didn't want to install for me but the tarball was fine.

Life is good again.

Last edited by robble; 04-25-2003 at 11:02 AM.
 
Old 04-25-2003, 11:02 AM   #13
cheeselegacy
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I'd tell you, but I don't understand linux well enough or what I really did to get it to work. Sorry.

Vmware is running now, but can't get XP installed. keep getting errors like "cannot execute binary file" and "Nautilus has no installed viewer capable of displaying "/mnt/cdrom/setup.exe"
 
Old 04-25-2003, 11:05 AM   #14
robble
LQ Newbie
 
Registered: Apr 2003
Posts: 6

Rep: Reputation: 0
I should have posted a new message instead of editing, but I did get it running.

The tarball seems to be more forgiving.
 
Old 04-25-2003, 11:31 AM   #15
cheeselegacy
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Robble,

Where you able to get an OS installed after you got VMWARE working? if you did, how did you do it? VMWARE start accessing the cdrom with "Setup is checking ...." then the drive spins down and stops.
 
  


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
Problems installing VMWare in Suse9.3 SolidSnakeX28 Linux - Software 4 07-25-2005 01:18 AM
installing VMware..having problems... kurrupt Linux - Software 6 10-02-2004 10:10 AM
Problem installing RedHat 7.3 using VMware 4.0 on Windows XP rajm438 Linux - Software 3 04-26-2004 10:21 PM
help installing redhat 9 in vmware Syco54645 Linux - Software 0 05-13-2003 11:22 PM
Big Problem installing VMware on RedHat 7.3 mtcald01 Linux - Software 2 01-31-2003 09:47 AM


All times are GMT -5. The time now is 06:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration