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.

Comments are closed, but trackbacks and pingbacks are open.