Linux - SoftwareThis 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.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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?
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:
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.
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!
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).
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."
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.
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.
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.