[wellylug] RH dependencies

Enkidu enkidu at cliffp.com
Sun Mar 7 11:19:53 NZDT 2004


On Sun, 07 Mar 2004 03:57:54 +1300, you wrote:
>
>Any RedHat users out there?
>
>I'm playing with RH9 at the moment, since that's the most recent release
>officially supported by my DSE wlan card.
>
>I need the kernel source. No problem, find the local mirror, find the
>kernel-source rpm, download.
>
>that depends on gcc (why?? there are users in having the source without
>compiling it ...) so I download that.
>
*If* you knew what you were doing and you could hack the source you
could probably compile the source with an out of date gcc. However
there may be bugs in older versions that lead to errors in the compile
of the kernel. Maybe not major ones, but bugs neverthe less.
>
>gcc depends on binutils, cpp and glibc-devel (why?? there are programs
>that don't use glibc aren't there? Isn't the kernel one of them?)
>
>binutils and cpp install!
>
There are programs that do use glibc and gcc can also be used to
compile them. If you use an newer version off gcc you need the newer
versions of these utilities. Otherwise you'll get versioning hell and
ever expanding code to support earlier versions of things.
>
>glibc-devel depends on kernel-headers (wtf?? I'm installing the kernel
>source, why do I need the headers separately?)
>
Ah, because programs that *interface with* the kernel eg modules need
to know the structures that the kernel expects. However to compile
such programs you don't need the full source. Just the headers which
apply to your kernel.
>
>But my friendly mirror has no such package listed. And despite my
>reasoning above, trying to install glibc-devel, gcc and kernel-source
>together (in the hopes that kernel-source will satisfy kernel-headers by
>some magical means) fails too (still complaining about kernel-headers).
>
Your friendly mirror should have kernel headers. If not, it's broken.
>
>Any suggestions where to go from here?
>
Look for the kernel headers elsewhere. Make sure it is for the same
version. RH would be a good place. Use up2date instead of downloading
the RPMs individually. RH is no longer supporting RH9, so all you will
get is the frozen setup. There are people out there who will be
porting the security fixes to RH9 for some time to come.

Cheers,

Cliff




More information about the wellylug mailing list