[lfs-support] Problem in section 5.3 of lfs book

Chris Staub chris at beaker67.com
Tue Nov 17 10:35:59 PST 2015

On 11/17/2015 01:13 PM, Joseph Hesse wrote:
> On 11/17/2015 08:38 AM, Pierre Labastie wrote:
>> On 17/11/2015 15:18, Joseph Hesse wrote:
>> You extract one package at a time, say, when you are at a "gcc" page,
>> type "tar -xvf gcc-5.2.0.tar.bz2", then change to the extracted
>> directory. When the package is built, you change back to the /sources
>> directory, and remove the extracted directory (rm -rf gcc-5.2.0
>> gcc-build).
> I am reading the LFS book sequentially, doing things in the exact order
> of the book.  Apparently, extracting the packages in /mnt/lfs/sources is
> not done at exactly at this time but when continuing to read the book.
> For example, if I followed the instructions in the second box in 5.3 I
> would have extracted all the packages.  However, in 5.5 it says, "First
> extract the gcc tarball ..." and then it says "tar -xf
> ../mpfr-3.1.3.tar.xz". Please just for a sanity check, am I reading this
> right?

5.3 is clear, it does say only to do one at a time. See step 3. in the 
"Important" box - "For each package:"
>> Regards
>> Pierre

More information about the lfs-support mailing list