[lfs-support] Greetings and first two questions
rafeb at speakeasy.net
Mon Jan 30 19:47:52 PST 2012
Hi Bruce, I'm trying desperately to understand.
I did read Sec. 5.3 carefully -- I printed it out and
read it prior to doing any builds -- but the subsequent
build steps don't seem to line up. The tree that
I have is:
/mnt/lfs/sources # (1) contains downloaded tarballs
/mnt/lfs/sources/mpfr # (2) after un-tar and rename
/mnt/lfs/sources/gmp # (3) after un-tar and rename
/mnt/lfs/sources/mpc # (4) after un-tar and rename
Is that still wrong? If so, how should it look?
Is the patch applied in each of the directories
(2) (3) and (4) ?
If I take Step 2 of Sec 5.3 literally, then the
first 'tar' command of Sec. 5.5.1 doesn't make
tar -jxf ../mpfr-3.1.0.tar.bz2
because it implies that the tarball sits in
a directory just above where I'm sitting
when the command is invoked.
On 01/30/2012 10:20 PM, Bruce Dubbs wrote:
> Raphael Bustin wrote:
>> The 'patch' command in the LFS book (Sec. 5.5.1)
>> immediately follows three un-tar operations where the
>> 'root' directories of the three newly-created source trees
>> are renamed to mpfr, gmp, and mpc.
>> I understand that the patchfile (by virtue of its name)
>> has something to do with gcc. But I can't relate that
>> to -any- of the three source trees that were just
>> I still don't understand where I should be when I do
>> the indicated 'patch' command in this instance. The
>> dir tree I have (just prior to the patch cmd) is
>> source/mpfr // has configure, configure.ac
>> source/gmp // has configure
>> source/mpc // has configure, configure.ac
> That is wrong.
>> .... So it's not clear at all which of these
>> directories the patch is directed at. What is
>> the clue that I'm missing?
> Section 5.3. Second note labeled important. Item 3, specifically 3b
> and 3c, in that order.
> -- Bruce
More information about the lfs-support