Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Distribution: ubuntu server 10 (JeOS) x64, fedora 13 i686, tinygentoo
Posts: 12
Rep:
kernel-header location in fedora 13???
Just trying to install vmware-tools. It wants the location of the kernel-headers. The package was installed, but I have no idea where, and can't find where it's located via google. Any help would be much appreciated! I'm sure there's away to find it using yum but I read the man to no avail.
Distribution: ubuntu server 10 (JeOS) x64, fedora 13 i686, tinygentoo
Posts: 12
Original Poster
Rep:
hmmm... I just did
sudo rpm -ql kernel-headers
which indicated that all the header files are in /usr/include/ and /usr/include/linux. I tried both, but they were rejected by the installer saying they were invalid, and again asked me
"What is the location of the directory of C header files that match your running kernel?"
EDIT: p.s. in case anyone was wondering, I'm following the vmware guide. In my Google searches I read that Fedora's kernel-headers location is not the normal location, but no where can I find where that location is. I assume the above locations were rejected because they're not the same location as the ones which the kernel uses.
p.p.s: Could a mod please move this to the Linux Distros/Fedora section? Hindsight is 20/20...
Last edited by oliaseleven; 08-29-2010 at 08:23 PM.
Distribution: ubuntu server 10 (JeOS) x64, fedora 13 i686, tinygentoo
Posts: 12
Original Poster
Rep:
Indeed, kernel-devel is installed and the directory /usr/src/kernels/2.6.33.8-149.fc13.i686/include was rejected as being invalid, though there are tons of header files in that and its subdirectories.
EDIT: I really have no idea what other directory it could be other than those I've chosen. After doing a find and dumping the results to a list file, there are tons of other locations of header files, but they don't really seem to be in a place that the kernel would be using them (they are for other packages, for instance). I'm totally at a loss here. I think I'll contact vmware and post here if any of their help is successful.
Last edited by oliaseleven; 08-30-2010 at 02:31 PM.
Distribution: ubuntu server 10 (JeOS) x64, fedora 13 i686, tinygentoo
Posts: 12
Original Poster
Rep:
update
Sorry for the long absence. I never did find a solution to the problem, I just moved on without installing VMware Tools. I'll probably try again over the summer which is when I'll have time to work on this particular project again. When I do I'll post my results here.
I had this problem too and got it fixed, I hope this helps you guys too.
Please check whether /lib/modules/`uname -r`/build is a broken link. If it is, then you do not have installed the kernel sources of the running kernel.
I installed kernel-devel, gcc and make as suggested by other howtos with no results, then noticed that I was actually running a PAE kernel. It worked like a charm after installing kernel-PAE-devel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.