Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-27-2003, 09:38 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Red Hat Kernel Headers


This has probably been brought up before, but I couldnt find anything that dealt with my problem directly,.

My problem is that everytime I try to update the NVIDIA drivers, it gives me an error about it not finding the kernel header files. The first time this came up, I proceded to install the Kernel Development package and then tried installing the drivers again, but it still could not find it.

Any idea of what I coulda done wrong? Not be doing? Thanks in advance to any replies. And sorry for being repetetive (I know how annoying repeat threads can be =p)
Old 10-27-2003, 10:16 AM   #2
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30

try using this cmd to see if u have the kernel headers or not rpm -q kernel-headers-kernelversion if it says package not installed then do the following. See if it came with the distribution CD then rpm -ivh kernel-headers-kernelversion to install headers or maybe download from the internet and install. The above will not work if u have made a custom kernel.

Once u installed this package u will find that the error will not appear again.

Old 10-27-2003, 10:31 AM   #3
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598
Can't remember the switch, but there's a documented switch with which you can point the installer to the dir you installed the kernel headers in. If that doesn't work, please verify (like Aqoliveira already said) the kernel header dir is there, accessable, and for a kernel that matches your current one and post the error messages.
Old 10-27-2003, 11:20 AM   #4
LQ Newbie
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Ah... got it working. Thanks folks!


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
Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 Thetargos Red Hat 431 04-13-2007 05:19 AM
Red Hat 9 2.6.9 Kernel scm86 Red Hat 4 12-11-2004 09:42 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Broadcom 4401 and Red Hat 9 - kernel headers? LooseCanon Red Hat 33 09-29-2004 05:04 PM
CAVEAT: /boot/kernel.h & how not to clobber your kernel sources (Conectiva, Red Hat) JCCyC Member Success Stories 0 08-07-2003 07:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration