Kernel Headers in RedHat Linux 9

I need a compiler to install some perl modules. (???) So I start...

[root@NewShoebox i386]# rpm -Uvh gcc-3.2.2-5.i386.rpm
error: Failed dependencies:
binutils >= 2.12.90.0.7-1 is needed by gcc-3.2.2-5
cpp = 3.2.2-5 is needed by gcc-3.2.2-5
glibc-devel >= 2.2.90-12 is needed by gcc-3.2.2-5
[root@NewShoebox i386]# rpm -Uvh glibc-devel-2.3.2-27.9.7.i386.rpm
error: Failed dependencies:
kernel-headers is needed by glibc-devel-2.3.2-27.9.7
kernel-headers >= 2.2.1 is needed by glibc-devel-2.3.2-27.9.7
[root@NewShoebox i386]# rpm -Uvh kernel-source-2.4.20-31.9.progeny.5.i386.rpm
error: Failed dependencies:
gcc >= 2.96-98 is needed by kernel-source-2.4.20-31.9.progeny.5
[root@NewShoebox i386]#

Now what?
There's no "kernel-headers" package anymore with RH9, the kernel headers for building the kernel come with the kernel-source package. But I can't install that without gcc. Actually forcing the issue won't fix my problem, because glibc-devel doesn't understand the kernel headers are installed if one forces the issue with the kernel source package. rpm -Uvh --no-deps kernel-source...


Doesn't do it.

The answer is glibc-kernheaders package. (Of course, why didn't I think of that?) Everything will work neatly.

I am a little embarrassed to report I discovered this via the RedHat Install/Upgrade program on the original media... I conveniently used this method to install the packages I really missed, and which program being smarter than I am, knew about the kernheaders thing.

About this Entry

This page contains a single entry by John published on November 14, 2004 7:16 PM.

Spot a phish? was the previous entry in this blog.

Taking a Critical Look at Process is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID

Subscribe by Email

Enter your email address:

Delivered by FeedBurner