LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Problem installing glibc...need help (http://www.linuxquestions.org/questions/linux-general-1/problem-installing-glibc-need-help-42999/)

tarballed 01-27-2003 07:25 PM

Problem installing glibc...need help
 
Hmm, well, I have been trying to install glibc, but I have run into a problem. The first problem was that I needed a couple of dependencies. So I went ahead and downloaded the correct RPM's and installed them. No problem.

But, I am trying to install glibc-devel-2.2.93-5.i386.rpm on my RH 8.0 box. WHen I try and run the RPM, this is what I get:

[root@mailtest downloads]# rpm -Uvh glibc-devel-2.2.93-5.i386.rpm
error: Failed dependencies:
kernel-headers is needed by glibc-devel-2.2.93-5
kernel-headers >= 2.2.1 is needed by glibc-devel-2.2.93-

Kernel headers. Sounds fun, but what is it exactly and what do I need to do to get it installed?

Here is my uname -a output:

Linux mailtest 2.4.18-19.8.0 #1 Thu Dec 12 04:37:40 EST 2002 i686 athlon i386 GNU/Linux

Any help is greatly appreciated.

Tarballed

mdh 01-28-2003 12:42 AM

The kernel headers are required for glibc
(standard glibc build from source requires you to copy them to /usr/include or at least provide their location to configure).

Basically for you C-headers to be complete ( and correct ) you'll have to supply the kernel headers from which this glibc was built

( not easy to tell when doing an rpm install, though it may be in the doco ).

If you are upgrading glibc, you SHOULD upgrade binutils and the kernel and kernel headers at the same time... preferably with the binutils and kernel headers your new glibc was built against.


All times are GMT -5. The time now is 02:31 AM.