LFS - about 30 Autoconf files and how to do the patches
Linux From ScratchThis 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.
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.
LFS - about 30 Autoconf files and how to do the patches
Hey,
First of all, I'm Sjors Snoeren, a 16 year old webdeveloper, I got my own company called Rockweb, see http://www.rockweb.nl, I'm from holland as you may see on my web URL. I'm a big Mac OSX and Linux fan, I know Strange combination. I'm wanting to create my own OS so,
I'm using LFS, but struggling yet,
I've installed the WGET-list, but when I cd to the $LFS I see much .tar.gz files like it have to, but I see also about 30 Autconf.tar.gz.1 and tar.gz.2 and so on, is it meant so or did I do sth wrong?
Also the patches, need they be to installed manually? Or is there a program or a patch-list like the wget-list?
Thnx for reading, and I hope someone can help me out!
I've installed the WGET-list, but when I cd to the $LFS I see much .tar.gz files like it have to, but I see also about 30 Autconf.tar.gz.1 and tar.gz.2 and so on, is it meant so or did I do sth wrong?
Something must have gone wrong. Have a look at the content of the wget-list file, all packages/patches should be mentioned just once.
but I see also about 30 Autconf.tar.gz.1 and tar.gz.2 and so on, is it meant so or did I do sth wrong?
Something is probably wrong.
run
Code:
diff Autoconf.tar.gz.1 Autoconf.tar.gz.2
It will either throw up loads of crap, or nothing. If it throws up nothing, you can probably delete most of them. But check the length
Code:
ls -lh Autoconf.*
wget could have been retrying if that was set. I don't know the script. Make sure the one you keep has the right md5sum.
Quote:
Also the patches, need they be to installed manually? Or is there a program or a patch-list like the wget-list?
I think not. I think they are done one at a time. If you're doing manual (Best way to learn) the commands are in the book. If you are using the build script on the cd, it patches them before the compile.
So, struggled upon another problem, In chapter 4 you have to Export $LFS to /mnt/lfs, I did that but the pakages are still on $LFS... Is that a problem?
The packages you downloaded should reside in $LFS/sources, not $LFS (as mentioned in chapter 3). During chapter 4 and 5 the base you are building from is stored in the LFS variable (for most people this variable will contain /mnt/lfs).
The export command doesn't have anything to do with that. The export part of the command makes sure that this variable (LFS) is also present in the sub-shells that are used during the build.
Hope this helps.
Last edited by druuna; 03-18-2012 at 09:22 AM.
Reason: grammar
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.