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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-27-2003, 03:29 AM
|
#1
|
Member
Registered: Jun 2003
Location: Australia
Distribution: FC7
Posts: 37
Rep:
|
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?
|
|
|
06-27-2003, 05:15 AM
|
#2
|
Member
Registered: May 2003
Location: A country town, Australia
Distribution: Debian
Posts: 72
Rep:
|
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?
|
|
|
06-27-2003, 07:17 AM
|
#3
|
Member
Registered: Jun 2003
Distribution: RedHat
Posts: 48
Rep:
|
I have the same thing running here and it works just fine. Just install your kernel-source package and you should be ready.
|
|
|
06-27-2003, 10:15 PM
|
#4
|
Member
Registered: Jun 2003
Location: Australia
Distribution: FC7
Posts: 37
Original Poster
Rep:
|
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
|
|
|
06-28-2003, 05:23 AM
|
#5
|
Member
Registered: Jun 2003
Distribution: RedHat
Posts: 48
Rep:
|
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.
|
|
|
06-29-2003, 11:10 AM
|
#6
|
LQ Newbie
Registered: Jun 2003
Location: Dallas, TX
Distribution: Redhat 9
Posts: 9
Rep:
|
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!
|
|
|
07-14-2003, 09:34 AM
|
#7
|
LQ Newbie
Registered: Jul 2003
Location: Edina MN
Distribution: RH 9
Posts: 3
Rep:
|
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).
|
|
|
08-18-2003, 11:53 PM
|
#8
|
LQ Newbie
Registered: Aug 2003
Location: Canada
Distribution: Redhat Shrike
Posts: 6
Rep:
|
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.
|
|
|
08-19-2003, 03:16 AM
|
#9
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
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.
|
|
|
08-19-2003, 03:40 AM
|
#10
|
LQ Newbie
Registered: Jul 2003
Location: Tunisia
Posts: 12
Rep:
|
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
|
|
|
08-19-2003, 06:06 AM
|
#11
|
LQ Newbie
Registered: Aug 2003
Location: Canada
Distribution: Redhat Shrike
Posts: 6
Rep:
|
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 06:07 AM.
|
|
|
All times are GMT -5. The time now is 09:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|