LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem Updating glibc 2.2.5-34 to 2.3.2 (https://www.linuxquestions.org/questions/linux-software-2/problem-updating-glibc-2-2-5-34-to-2-3-2-a-102614/)

FinalSolution 10-10-2003 06:49 PM

Problem Updating glibc 2.2.5-34 to 2.3.2
 
Im trying to update my acutal glibc to an up to date version
If you want to know why its just for the challenge
when I compiled i got the folliwing error


[root:/home/final/glibc-build]# ../glibc-2.3.2/configure

everything goes fine until that

running configure fragment for ../glibc-2.3.2/sysdeps/i386/elf
running configure fragment for ../glibc-2.3.2/sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... 2.0.10 or later
*** On GNU/Linux systems it is normal to compile GNU libc with the
*** `linuxthreads' add-on. Without that, the library will be
*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.

after i got this error i tried the following command(i specified the path to the source of my kernel and then It got worst

../glibc-2.3.2/configure --with-headers=/usr/src/linux-2.4.18-3/

checking size of long double... 12
running configure fragment for ../glibc-2.3.2/sysdeps/i386/elf
running configure fragment for ../glibc-2.3.2/sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later. This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel
header files. To use kernel headers not from /usr/include/linux, use the configure option --with-headers.

I even tryed to make a symbolic link of my version.h located in my /usrc/src/linux-2.4-18-3 into /usr/include/linux


Im out of idea folks..so im asking for your help
My os is
Redhat 7.3 2.4-18-3

ovf 10-10-2003 07:53 PM

I believe you need to install a few other libraries along with glibc. The error you posted suggests that you need glibc-linuxthreads. It's available from ftp://ftp.gnu.org/gnu/glibc.

oskernel 10-17-2003 05:22 AM

I know where the problem is! Just configure like this:
../glibc-2.3.2/configure --enable-add-ons=linuxthreads


All times are GMT -5. The time now is 04:43 AM.