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.
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.
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.
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?
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
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.
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.
=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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.