LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-29-2010, 09:05 PM   #1
oliaseleven
LQ Newbie
 
Registered: Aug 2010
Location: connecticut, usa
Distribution: ubuntu server 10 (JeOS) x64, fedora 13 i686, tinygentoo
Posts: 12

Rep: Reputation: 0
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.
 
Old 08-29-2010, 09:13 PM   #2
oliaseleven
LQ Newbie
 
Registered: Aug 2010
Location: connecticut, usa
Distribution: ubuntu server 10 (JeOS) x64, fedora 13 i686, tinygentoo
Posts: 12

Original Poster
Rep: Reputation: 0
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 09:23 PM.
 
Old 08-30-2010, 07:29 AM   #3
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
The package to install is "kernel-devel", once done you'll find header under "/usr/src/kernels/2.6.33.8-149.fc13.x86_64/include" directory
 
Old 08-30-2010, 02:57 PM   #4
oliaseleven
LQ Newbie
 
Registered: Aug 2010
Location: connecticut, usa
Distribution: ubuntu server 10 (JeOS) x64, fedora 13 i686, tinygentoo
Posts: 12

Original Poster
Rep: Reputation: 0
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 03:31 PM.
 
Old 08-30-2010, 04:36 PM   #5
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
What is error output exactly?
is the "uname -r" output OK?
 
Old 12-14-2010, 03:36 AM   #6
ufmale
Member
 
Registered: Feb 2007
Posts: 385

Rep: Reputation: 30
did you figure out this problem yet? what header is it looking for?
 
Old 01-12-2011, 02:02 AM   #7
oliaseleven
LQ Newbie
 
Registered: Aug 2010
Location: connecticut, usa
Distribution: ubuntu server 10 (JeOS) x64, fedora 13 i686, tinygentoo
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 01-28-2011, 05:48 AM   #8
majeru
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 1
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.
 
1 members found this post helpful.
  


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
VMware can't find kernel header on fedora 9 xixux Fedora 26 12-29-2013 08:47 PM
using header('location:... syok Programming 1 08-06-2008 11:56 PM
Location of C Header Files in Fedora Core 5 wadedesk Linux - Software 3 05-11-2006 02:12 AM
c header files location 2.6.5 kernel? Rhatlinux Linux - Software 1 09-11-2004 04:39 PM
Location of header files running alongside kernel- SuSE 9.0 MoghNX01 Linux - Software 0 03-21-2004 07:00 PM


All times are GMT -5. The time now is 04:21 PM.

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