Koozali.org: home of the SME Server

Kernel Headers?

rk

Kernel Headers?
« on: February 25, 2001, 08:13:44 PM »
Hi,
Has anyone else figured out how to get the kernel headers on the machine?  

I know in the FAQ it states that they did not include development tools on the box for simplification.  That is a double edged sword.  I am not a developer, but I want to install some packages on the machine for other uses (in particular a simple Web Photo Album).  When I attempt to 'make' the program, it fails becase it is missing some Perl modules.  I go to CPAN, pull them down.  When I try to install them, they fail because there is no gcc.  Well, being adventurous, I pulled down the RPM for gcc.  It requires cc (also missing).  Soooo, I pull down cc, it fails because it can't find the kernel headers (.h files, right?).  I have no idea where to get those from, unless I copy them from another 2.2.16 box, which sounds risky.  Does anyone have any suggestions?  Has anyone else run into this?  Are any of the SRPMs valid to get thsi from?

rk

Dan Brown

Re: Kernel Headers?
« Reply #1 on: February 26, 2001, 01:10:45 AM »
For the umpteenth time, e-smith uses a stock RedHat 7 kernel, which means you'll just need kernel-headers from RedHat 7.  You should be able to get it at any RedHat mirror, I'd think.

rk

Re: Kernel Headers?
« Reply #2 on: February 26, 2001, 06:26:29 AM »
Sheesh, sorry.  Nothing in the previous archives about the headers.  If it's such a common question, why isn't it in a FAQ?  Hmmmm?

Didn't I say it seems to be taking quite some time to find the headers.  I was hoping for someone to give me a hand, not a lecture about how stupid I am.  All you did was tell me to keep looking.  I was hoping someone else had done this before and could help me.  Thanks anyway...

rk

Dan Brown

Re: Kernel Headers?
« Reply #3 on: February 26, 2001, 07:34:30 AM »
Well, that being the core of another question I answered earlier today (either on this forum or on the general one) sort of set me off.  There may not be anything previously about kernel headers specifically, but there are messages about the kernel in general.  There have also been _lots_ of messages to this effect on the devinfo list, to which you probably should belong if you're tweaking your system to this extent.  In any case, I told you where you could get it--at any RedHat 7 mirror (or on a RedHat 7 CD).  The RPM you're looking for appears to be kernel-source; there doesn't seem to be a kernel-headers RPM for the 2.2.16 kernel included with RH7.

Stephan

Re: Kernel Headers?
« Reply #4 on: February 26, 2001, 01:56:09 PM »
I think you should not install kernel-.....SRPM but instead use kernel-source.....RPM. That's because you don't want to recompile the kernel (SRPM) but only want to compile some modules etc. which need the source.RPM.

rk

FYI...
« Reply #5 on: February 26, 2001, 07:46:48 PM »
Redhat 7.0's ftp site does not include headers for 2.2.16.  It includes the headers for 2.4.0 (go figure).  It took a while to find the correct headers, but I was able to RPM them and finally get gcc installed.

As I said before I am not a developer, so I don't want to join the developers mailing list.  I just want to install some other canned apps on a machine.  I figured this was a question 'experienced users' could answer.  I know the dev list covers 'customization' too.  It would be nice to have a searchable archive of the list.  Is there one I haven't found?

rk

Tim Litwiller

Re: FYI...
« Reply #6 on: February 28, 2001, 06:07:36 PM »
>It would be nice to have a searchable archive of the list. Is there one I haven't found?

you mean at this top of this page?

rk

Re: FYI...
« Reply #7 on: February 28, 2001, 07:11:11 PM »
Last I checked, the developers list is NOT part of the search.  Of course I checked over 2 minutes ago, so something may have changed.

Tim Litwiller

Re: FYI...
« Reply #8 on: February 28, 2001, 08:26:03 PM »
You are correct, I hadn't noticed that.