LinuxQuestions.org
Review your favorite Linux distribution.
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 12-19-2016, 11:42 AM   #1
dlb101010
Member
 
Registered: Dec 2016
Posts: 61

Rep: Reputation: 18
Deleting extracted source directories in Chapter 6.


Hello all,

I've been following the instruction given in 5.3: "Delete the extracted source directory unless instructed otherwise." But nowhere in any of the chapter 5 packages did I notice instructions to actually save the extracted directory, and it has me slightly second-guessing whether I missed something.

Chapter 6 up through 6.17 GCC-6.2.0 (which I just finished) gives no instruction to either delete or save the extracted directories. I've been deleting them.

Is there a case, other than moving the API headers into place, where any extracted directory needs to be kept? (Or am I not far enough along, and am asking for a spoiler!) With the work just put into compiling and testing gcc, I'm reluctant to delete that folder despite not coming up with a single good reason to keep it.

Thanks,
Dave
 
Old 12-19-2016, 11:46 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
The correct way is delete dirs as they are finished in ch5 and 6. It dosn't say to save the dirs in the book.
It is mention here http://www.linuxfromscratch.org/lfs/...tructions.html
in the last important box at the end.

Also the idea of removing dirs is so stale dirs are not reused, As they dont get used a 2nd time in Ch6.

Last edited by spiky0011; 12-19-2016 at 11:57 AM.
 
1 members found this post helpful.
Old 12-19-2016, 12:17 PM   #3
dlb101010
Member
 
Registered: Dec 2016
Posts: 61

Original Poster
Rep: Reputation: 18
Hey spiky0011,

Thanks for the reassurance. In trying to be really careful following the book, I sometimes read too much into the instructions...

Dave
 
Old 12-19-2016, 12:27 PM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
No problem

FYI

Also if you get a make fail more so in blfs it,s best to remove dir and untar again before rebuilding.
 
Old 12-19-2016, 12:49 PM   #5
dlb101010
Member
 
Registered: Dec 2016
Posts: 61

Original Poster
Rep: Reputation: 18
And thanks for the FYI. I need 'em.

Incidentally, Linux from Scratch is a time-consuming and very picky endeavor, true, but I'm learning lots. (I'm even learning some sed, which I've successfully avoided until now!) And the best part, I'm finding it an enjoyable journey.
 
  


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
[SOLVED] LFS 7.9 Which source and build directories to retain? +Perl make fail Chapter:5 Tim Abracadabra Linux From Scratch 11 04-14-2016 06:05 AM
tar archive - How is a single directory extracted without the parent directories? Siopa Linux - Software 12 01-22-2014 03:49 AM
Deleting directories sectore Linux From Scratch 1 04-10-2009 02:16 PM
Chapter 5 (After installing each package, delete its source and build directories) brayden516 Linux From Scratch 2 04-17-2008 11:50 AM
Deleting directories NomadABC Linux - Newbie 2 02-10-2005 02:11 PM

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

All times are GMT -5. The time now is 07:53 AM.

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