LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-10-2006, 03:46 PM   #1
wadedesk
LQ Newbie
 
Registered: Mar 2005
Location: Gainesville, Georgia, USA
Distribution: Fedora Core 5
Posts: 9

Rep: Reputation: 0
Location of C Header Files in Fedora Core 5


What is the location of the directory of C header files that match the running kernel in Fedora Core 5
 
Old 05-10-2006, 09:02 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
They are not installed by default. Install the package 'kernel-devel'

# yum install kernel-devel

http://www.mjmwired.net/resources/mj...#kernelheaders

Once installed they will be in:

/usr/src/kernels
 
Old 05-11-2006, 12:01 AM   #3
wadedesk
LQ Newbie
 
Registered: Mar 2005
Location: Gainesville, Georgia, USA
Distribution: Fedora Core 5
Posts: 9

Original Poster
Rep: Reputation: 0
I installed kernel-devel as directed, however I'm trying to install VMware Linux Host and the config program keeps telling me that it is expecting the kernel header files to be in the directory /usr/src/linux/include. When I try to point it elsewhere it keeps telling me that it expects to see the linux folder.
 
Old 05-11-2006, 01:12 AM   #4
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
You can make a symlink to point it to the right place:
Code:
ln -s /usr/src/kernels/kernel-<blahblah> /usr/src/linux
 
  


Reply



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 install, header files, fedora core 4 jaa1180 Linux - Software 4 03-03-2006 09:44 PM
c header files location 2.6.5 kernel? Rhatlinux Linux - Software 1 09-11-2004 03:39 PM
Fedora Core 2 test 3 missing header files WingNut Fedora 3 06-11-2004 03:14 PM
Location of header files running alongside kernel- SuSE 9.0 MoghNX01 Linux - Software 0 03-21-2004 06:00 PM
location of dir of C header files? VMWARE install.. s7nner Linux - Newbie 3 09-07-2003 11:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:22 AM.

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
Open Source Consulting | Domain Registration