LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   I erased glibc-2.3.6 from my LFS-6.2 by mistake using PACO. Compiled replace needed. (https://www.linuxquestions.org/questions/linux-from-scratch-13/i-erased-glibc-2-3-6-from-my-lfs-6-2-by-mistake-using-paco-compiled-replace-needed-643853/)

linux-geek 05-21-2008 01:52 PM

I erased glibc-2.3.6 from my LFS-6.2 by mistake using PACO. Compiled replace needed.
 
While I was trying to update my glib, by mistake I completely erased glibc-2.3.6 from my LFS-6.2 system. The thing is I use PACO to keep track of my installed packages and I did not make a backup copy from thatat package before I erased it. I managed to boot up my system again copying a libc.so and other libraries from a rescue distribution. I did that hoping I could recompile glibc again, but I've had trouble on doing that.

So I posted this hoping someone else who actually have a LFS-2.6 system could have a precompiled glibc-2.3.6 tarball.

Thanks in advance.

pinniped 05-26-2008 07:46 AM

What is your build setup? What problems are you having rebuilding glibc?

No point in asking for a precompiled binary when you don't even specify the host CPU.

linux-geek 06-06-2008 10:50 AM

System specs
 
Quote:

Originally Posted by pinniped (Post 3164911)
What is your build setup? What problems are you having rebuilding glibc?

Code:

[ramiro@SelfLinuXcool: ~]$ uname -a
Linux SelfLinuXcool 2.6.22.5-OpenSuSe-31 #9 PREEMPT Fri Mar 14 23:38:53 UTC 2008 i686 athlon-4 i386 GNU/Linux

Code:

root:/usr/src/glibc-build# ../glibc-2.3.6/configure --prefix=/usr
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking sysdep dirs... sysdeps/i386/elf sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 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... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

That is the problem.

Minozake 06-10-2008 04:42 PM

You wouldn't happen to have access to another distro, would you? One that has
a LiveCD and you can load into the memory with a compiler?

If you can, I'd recommend trying to boot up that way and try recompiling from
that distro by mounting the partition and using './configure
--prefix=/mnt/hdaX' or similar.

Could you also post the config.log as well?


All times are GMT -5. The time now is 01:24 AM.