Header problem on old RH version

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Chris Gehlker
Date:  
Subject: Header problem on old RH version
On Nov 9, 2003, at 9:13 AM, Bart Garst wrote:

> Try installing kernel-source-2.2.16-22.rpm from RH7.0 Binary-Disk 1.
>
> <excerpt taken from `rpm -qi kernel-source`>
> Description :
> The kernel-source package contains the source code files for the Linux
> kernel. These source files are needed to build most C programs, since
> they depend on the constants defined in the source code. The source
> files can also be used to build a custom kernel that is better tuned
> to your particular hardware.
> </excerpt>


That did the trick! Thanks a bunch.

> Just a note, *.src.rpm files were meant to be built with `rpmbuild`.
>
> Try it, its pretty cool. Pick any *.src.rpm and (as root) run `rpmbuild
> --rebuild file.src.rpm`. It will create all the required rpm files and
> place them in /usr/src/redhat/RPMS/i386.


That is cool. I was thinking that SRPMs were just RPMs containing
source. They are clearly more like 'source for RPMs.'


> Building srpms helps alleviate the dependency problems (the operative
> word here is helps).


Maybe I'm just lucky but I've never had a dependency problem in YDL, my
main linux, using yum to manage packages. The relevance of that is I
notice that yum is an option for package management under Fedora.

If you try yum, don't get discouraged by all the time it spends getting
headers. That's a one time thing.