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.
Can someone please explain this command better because when i create that directory as it says to do. Right before it says this command and then typing these commands in it gives me a error saying that file or directory doesnt exist
@OP: Your problem is still the same as in your previous thread. READ the prerequisites. Again, you won't succeed building an lfs without at least some basic knowledge of how to use the cli.
Unless you follow the advice you already have been given in your previous thread there is really no point in creating new threads.
You know i have been reading through them . And for people to tell me commands that keep spitting out the exact same errors as i had originally isnt going to help a thing either.
So if you are in /mnt/lfs/gcc-build (you should really be in /mnt/lfs/sources/gcc-build) and you issue a command beginning with "../gcc-4.5.1/configure \", it will look for /mnt/lfs/gcc-4.5.1
are you sure your on the same spot i am . Im not having the same problem i had previously i made it to 5.5.1 of book 6.7 the prob i had before was on the page before that 1.
Once again, the instructions say that for every package, before you follow the instructions on the specific page for that package you must do the following:
1. Begin in /mnt/lfs/sources
2. tar -xvf somepackage.tar.gz (it might be somepackage.tar.bz2. This will create a new folder inside the sources folder)
3. cd somepackage (this will put you in /mnt/lfs/sources/somepackage/ )
4. Follow specific package instructions found on the "somepackage" page
5. cd back to /mnt/lfs/sources
6. delete the extracted directory created in step 2, and any <package>-build directories that were created in step 4
7. Move on to the next package
I suppose my advice to you now is that you are so close to the beginning and having problems, maybe get a bit more familiar with slackware 13.1, installing programs from source and then try LFS later.
Otherwise, if you are still really keen, delete the LFS partition and start the whole book again, it won't take long at all.
I completed a Linux from scratch build just recently, and I assure you that if you are actually reading each page, and following the instructions then it will work perfectly.
If, however, you are just going from page to page and merely cutting and pasting the commands, it will not work! This is because the commands to extract the packages and change directory into the package folders are not included every time.
You know I find it pretty ironic that im basically being called a noob. When im duplicating commands ive been given by the lfs users on this forum and they still dont work. I would think a true lfs person that really cared about how the inner workings of linux really is would be wondering why theyre commands arent working when they are put in exactly as they were given. Instead of just wanting to tell people they dont know what they are doing and to go study. Atleast thats how i thought lfs people were. Who knows maybe theres just to many people out there that were just given a copy of an already made lfs system and decided to claim they are lfs people instead of actually learning it. And taking it seriously
Last edited by kcnewslackuser; 10-29-2010 at 04:00 AM.
In particular, as an absolute minimum, you should already have the ability to use the command line (shell) to copy or move files and directories, list directory and file contents, and change the current directory. It is also expected that you have a reasonable knowledge of using and installing Linux software.
If you fulfill this requirements and have read through the first two given links on this page you should be able to follow the book without problems. Even if there occur problems you should most times be able to recognize where the problem is.
There is no way to learn about the inner function of Linux, if you don't know the basics. It is not about copy&paste, it is about knowing what you do and why you do it. This is the purpose of LFS.
Go fire up your file browser, browse to your LFS partition, and look at what directory the Terminal is in. You should be able to diagnose such problems before you start with building LFS, as there are MUCH more complicated issues that pop up.
I would play with Linux for a few more days and get familiar with the CLI environment before building Linux. There's no use in building LFS if you don't learn anything from it...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.