LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-31-2003, 04:17 PM   #1
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 47
Ch. 6.63 - the fun continues - glibc again


Isn't this fun?

Ch. 6.14 was Installing glibc-2.3.1.
Ch. 6.63 is also Installing glibc-2.3.1.

Ok, is this an instance where I should delete my previous /packages/temp6/glibc-build directory and recreate it to re-build from the glibc-2.3.1 directory? Maybe I need to do a rm -rf /packages/temp6/glibc*. And completely start over for the glibc part there.

I assume that some of the files in the glibc directories were modified back in 6.14, and need to be purged before doing the ./configure, make, and make install again from 6.63.

Or, are the files that are now in those directories needed for this new ./configure, etc...?



Thanks...
 
Old 07-31-2003, 05:05 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Yes, I would remove your glibc build directory from the previous compile (6.14).

The reason you compile it twice is a safeguard. It makes sure that glibc is built as the developers intended it to be; without the patch you applied earlier. That ALSO means you need to delete you glibc source tree. When you applied the patch, your source files were modified. So if you simply built it from another build directory, you'd still be including the patch, which is NOT what you want.

So, kill both glibc-build, and the glibc source tree. Or, at the very least, extract and compile the source in a different directory.
 
Old 07-31-2003, 05:10 PM   #3
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 47
Ok, that's what I was thinking.

Thanks a lot.
 
Old 07-31-2003, 05:55 PM   #4
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 47
Ok. Dang. It's ok if anybody wants to beat me over the head with a heavy RTFM.

The text of the book says basically exactly what Dark Helmet said:
Quote:
At the beginning of this chapter you installed Glibc and applied a patch to it. Part of this patch was undoing some changes to make static binaries compiled against Glibc-2.2 work. However, this is not what the Glibc developers intended and we don't need to keep this modified Glibc around. So we reinstall Glibc here to remove this patch.

A second reason to install Glibc again is because it's considered cleaner. The first Glibc was installed using programs compiled on your host distribution which sometimes has the effect of tainting Glibc. While this isn't a problem with the other packages compiled early in this chapter, for Glibc we want to be sure it's 100% OK
Today's lesson review: Read first. Ask second.

Sorry about that.

Last edited by itsjustme; 07-31-2003 at 08:30 PM.
 
Old 07-31-2003, 08:24 PM   #5
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Nah.... you're doing fine. The book moves at a pretty steady pace, and after a while, you begin to typing the commands without fully reading the text (at least that's how I was/am).

You're almost finished though! It's just the kernel that's left. That can be daunting, but it's definitely do-able.
 
  


Reply



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
The 2.4 -> 2.6 Saga Continues ... sundialsvcs Linux From Scratch 2 08-11-2005 01:25 PM
And it continues mrcheesegrater Linux - Software 3 05-26-2005 06:39 PM
The Dialup Saga Continues IamI Slackware 26 05-08-2005 10:06 AM
soundcraft II: the battle continues... Nechos Linux - Software 4 10-01-2003 12:06 AM
x- question....the saga continues Robert0380 Linux - General 3 05-23-2003 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration