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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-12-2002, 08:13 PM
|
#1
|
Member
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362
Rep:
|
Book says to install the same packages again?????
Book says to install the same packages again?????
I find that by following the book it tells you to install most of the packages again once you have chrooted to $LFS... what gives?
not good.... not many browsers for this thread im afraid... not near as many "gurus" as i was lead to believe... :-)
|
|
|
02-12-2002, 10:31 PM
|
#2
|
Member
Registered: Jan 2002
Location: NZ, AKL
Distribution: Redhat 7.1
Posts: 168
Rep:
|
And what is the difference between being chroot'd and not being chroot'd? Do a bit of reading and you'll answer your own question..
Don't forget to delete the source dirs of the packages and re-extract them. It might save some headaches while installing them..Well it would have for me..
|
|
|
02-12-2002, 11:09 PM
|
#3
|
Member
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362
Original Poster
Rep:
|
"Don't forget to delete the source dirs of the packages and re-extract them. It might save some headaches while installing them..Well it would have for me.."
re-extracting? the delting i get but ive never heard of re-extracting packages before
|
|
|
02-12-2002, 11:16 PM
|
#4
|
Member
Registered: Jan 2002
Location: NZ, AKL
Distribution: Redhat 7.1
Posts: 168
Rep:
|
Figure of speech...
if you've extracted the files once..then you could consider it re-extracting..or you could just call it extracting twice..or you could call it twin-extraction..or re-extraction..
and don't worry the lfs maintainer god does read and post in this forum and he's usually right, never anything i asked that he didn't answer bar my own stupidity but i think lfs is young right now so consider yourself a pioneer, in a years time they'll thousands of us.. I definatly haven't regretted doing this, and if my games get better frame rates using a custom system then it'll all be worth it..
|
|
|
02-13-2002, 08:54 AM
|
#5
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Quote:
Originally posted by dj_relentless
Figure of speech...
if you've extracted the files once..then you could consider it re-extracting..or you could just call it extracting twice..or you could call it twin-extraction..or re-extraction..
and don't worry the lfs maintainer god does read and post in this forum and he's usually right, never anything i asked that he didn't answer bar my own stupidity but i think lfs is young right now so consider yourself a pioneer, in a years time they'll thousands of us.. I definatly haven't regretted doing this, and if my games get better frame rates using a custom system then it'll all be worth it..
|
What makes you think there aren't already thousands of LFS'ers out there?
At the _very least_ there are 2870 LFS'ers who have registered at http://linuxfromscratch.org/cgi-bin/lfscounter.cgi but judging from website and ftp log files at http://stats.linuxfromscratch.org there are thousands more who've at least downloaded the book at one time (it's impossible to tell if they use LFS at this present time).
|
|
|
02-13-2002, 08:57 AM
|
#6
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Re: Book says to install the same packages again?????
Quote:
Originally posted by Chijtska
Book says to install the same packages again?????
I find that by following the book it tells you to install most of the packages again once you have chrooted to $LFS... what gives?
not good.... not many browsers for this thread im afraid... not near as many "gurus" as i was lead to believe... :-)
|
Yes you install certain packages twice. First in chapter 5 you link them statically so they can be used in the chroot'ed environment without Glibc present. Also, those programs are compiled using your distribution's compiler and therefore considered 'tainted'. We re-compile those packages using the LFS compiler so that everything is "clean".
This is all explained here:
http://linuxfromscratch.org/view/3.2...whystatic.html
And to clarify the re-extracting term:
when you run "tar xvfj file.tar.bz2" (or something similar) you unpack the tar archive. Another word for unpacking is extracting (you extract files from the tar file and save it as seperate files outside the tar file).
re-extracting simply means unpacking the tar file for a second time (the first time being in chapter 5, the second time being in chapter 6 when a couple of packages are reinstalled).
I hope this all clears is up?
|
|
|
02-13-2002, 01:33 PM
|
#7
|
Member
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362
Original Poster
Rep:
|
why would you need to re-extract the package when youve already unpacked it?
|
|
|
02-13-2002, 02:43 PM
|
#8
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
Quote:
Originally posted by Chijtska
why would you need to re-extract the package when youve already unpacked it?
|
Because the unpacked package from chapter 5 is already been used to compile the package with. You should not re-use a used source tree, especially not in the case where you're on a different system (when you are inside chroot you're in a totally different environment than when you're in your Redhat or whatever distro. Files are different, settings are different, etc).
This, by the way, is explained in "Chapter 2 - Important Information - How to install Software"
|
|
|
02-13-2002, 09:36 PM
|
#9
|
Member
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362
Original Poster
Rep:
|
so then when i first download the packages i should place them in /usr/src/sources then unpack them as i need them and then even delete the extracted folders and then when i move on to the later chapter i re-extract them and install from inside the $LFS shell?
|
|
|
02-15-2002, 02:55 PM
|
#10
|
Member
Registered: Jan 2002
Location: NZ, AKL
Distribution: Redhat 7.1
Posts: 168
Rep:
|
Hey that is an impressive user base, and you'd definatly be right that not everyone that installed it registers the fact on the web site must be quite a few more...
wow..
Maybe you should start having birthdays for it
|
|
|
All times are GMT -5. The time now is 05:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|