LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 05-21-2008, 01:52 PM   #1
linux-geek
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
Angry 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.
 
Old 05-26-2008, 07:46 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
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.
 
Old 06-06-2008, 10:50 AM   #3
linux-geek
LQ Newbie
 
Registered: May 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy System specs

Quote:
Originally Posted by pinniped View Post
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.
 
Old 06-10-2008, 04:42 PM   #4
Minozake
LQ Newbie
 
Registered: Jan 2008
Location: Frozen Hell, MN, USA
Distribution: Source Mage GNU/Linux
Posts: 18

Rep: Reputation: 0
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
glibc 2.3.6 on LFS 5.6 profeta64 Linux From Scratch 5 12-04-2007 01:42 AM
LFS 6.2: made mistake when going from lfs to root setup oldgeek Linux From Scratch 4 11-12-2006 09:00 PM
glibc compiled on which keernel version? acidjuice Slackware 4 05-27-2005 09:52 AM
LFS compiled in 64bit mode? ParticleHunter Linux From Scratch 4 06-03-2004 01:33 PM
Erased files by mistake Linucec Linux - General 5 05-21-2004 08:12 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration