system error when upgrade glibc in a cluster with Red Hat linux
Hello,
I would like to upgrade glibc to glibc-2.7. I downloaded glibc-2.7.tar.gz as well as glibc-linuxthreads2.5.tar.gz, and try following commands: #tar -zxvf glibc-2.7.tar.gz #cd glibc-2.7 #tar -zxvf ../glibc-linuxthreads-2.5.tar.gz #cd .. #export CFLAGS="-g -O2 -march=i486" #./glibc-2.7/configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin --disable-sanity-checks #make #make install However, the system returns error when I set configure as below [root@console test]# ./glibc-2.7/configure --prefix=/usr --disable-profile --ena ble-add-ons --with-headers=/usr/include --with-binutils=/usr/bin --disable--sanity-checks checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu configure: running configure fragment for add-on linuxthreads linuxthreads disabled because nptl add-on is also in use configure: running configure fragment for add-on nptl checking sysdep dirs... sysdeps/x86_64/elf nptl/sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/wordsize-64 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/x86_64 nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/x86_64/fpu nptl/sysdeps/x86_64 sysdeps/x86_64 sysdeps/wordsize-64 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for gcc... gcc checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. I do not know how to solve this problem. Could anyone help me? Thanks a lot! Yeung |
Welcome to LQ.
Sorry, but glibc cannot be replaced. ( Glibc is your OS ( together with the kernel.)) All installed packages depend on the original version. ( 2.5 ? ) About your issues : A non working gcc. # yum install gcc-c++ will install all the packages, required for gcc to work properly. . |
All times are GMT -5. The time now is 06:10 PM. |