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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
03-14-2012, 12:00 PM
|
#1
|
|
Member
Registered: Mar 2012
Posts: 32
Rep: 
|
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!
|
|
|
|
03-14-2012, 12:27 PM
|
#2
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,865
|
Hi/Hoi Sjors-rw,
Welcome to LQ!
Quote:
Originally Posted by Sjors-rw
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.
The command given in the book to get the files ( wget -i wget-list -P $LFS/sources) also works as it supposed to.
You did follow the instructions in the book?
Quote:
|
Also the patches, need they be to installed manually?
|
When a patch needs installing it is explained on the page ( Example: 5.5 GCC - Pass 1).
BTW: Links provided assume latest stable LFS (7.1 at this moment).
Hope this helps.
EDIT: Just asked a moderator to move this to the LFS sub-forum.
Last edited by druuna; 03-14-2012 at 12:28 PM.
|
|
|
|
03-14-2012, 12:34 PM
|
#3
|
|
Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,369
|
Welcome to LQ.
Quote:
|
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
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.
|
|
|
|
03-14-2012, 12:40 PM
|
#4
|
|
Member
Registered: Mar 2012
Posts: 32
Original Poster
Rep: 
|
What I did I copied the url with the wget's to the command instead of wget-list.
for the patches, I don't have to do anything right now? If I understand you correctly.
|
|
|
|
03-14-2012, 12:44 PM
|
#5
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,865
|
Hi,
Quote:
Originally Posted by Sjors-rw
What I did I copied the url with the wget's to the command instead of wget-list.
|
Follow the book, it works
Quote:
|
for the patches, I don't have to do anything right now? If I understand you correctly.
|
Nope, when the time comes you will notice.
|
|
|
|
03-14-2012, 01:01 PM
|
#6
|
|
Member
Registered: Mar 2012
Posts: 32
Original Poster
Rep: 
|
Look, this is my problem:
http://cl.ly/F0UI
Any ideas, the rest seams OK.
|
|
|
|
03-14-2012, 01:18 PM
|
#7
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,865
|
Hi,
Well, if you do not follow the book (why not?? problem would be solved....) and don't tell us which commands you actually used we cannot help you.
What does this mean:
Quote:
|
Originally Posted by Sjors-rw
What I did I copied the url with the wget's to the command instead of wget-list.
|
Please post the exact commands you used, only that way we might be able to explain why it behaves the way it does.
|
|
|
|
03-14-2012, 01:22 PM
|
#8
|
|
Member
Registered: Mar 2012
Posts: 32
Original Poster
Rep: 
|
I followed the book, it says:
Code:
wget -i wget-list -P $LFS/sources
Wget-list was not found so I used:
Code:
wget -i http://www.linuxfromscratch.org/bblalalala/wget-list.html -P $LFS/sources
That's the right way to do it? I think the book is not explaining enough detail about that kind of things.
|
|
|
|
03-14-2012, 01:26 PM
|
#9
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,865
|
Hi,
Quote:
Originally Posted by Sjors-rw
I followed the book, it says:
Code:
wget -i wget-list -P $LFS/sources
Wget-list was not found so I used:
Code:
wget -i http://www.linuxfromscratch.org/bblalalala/wget-list.html -P $LFS/sources
That's the right way to do it? I think the book is not explaining enough detail about that kind of things.
|
Nope.
Download and store the wget-list file. From the location you stored the wget-list file issue the wget -i wget-list -P $LFS/sources command.
Hope this helps.
|
|
|
|
03-14-2012, 02:55 PM
|
#10
|
|
Member
Registered: Mar 2012
Posts: 32
Original Poster
Rep: 
|
How can I remove multiple files easy? Can I get in filemanager to do so? With Terminal it takes a alot of time...
|
|
|
|
03-14-2012, 03:08 PM
|
#11
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,865
|
Hi,
Quote:
Originally Posted by Sjors-rw
How can I remove multiple files easy? Can I get in filemanager to do so? With Terminal it takes a alot of time...
|
LFS is meant to be build from a console/terminal.
Assuming you want to remove all (!!) the files in $LFS/sources (as root user):
Code:
$ cd $LFS/sources
$ rm -f *
A little warning: If you are not familiar enough with the CLI to know this you will have a real hard time building a LFS system.
Hope this helps.
|
|
|
|
03-14-2012, 03:13 PM
|
#12
|
|
Member
Registered: Mar 2012
Posts: 32
Original Poster
Rep: 
|
But that's why I wanted to build one, to learn.
|
|
|
|
03-15-2012, 02:56 AM
|
#13
|
|
Member
Registered: Mar 2012
Posts: 32
Original Poster
Rep: 
|
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?
|
|
|
|
03-15-2012, 03:14 AM
|
#14
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,865
|
Hi,
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
|
|
|
|
03-15-2012, 03:22 AM
|
#15
|
|
Member
Registered: Mar 2012
Posts: 32
Original Poster
Rep: 
|
Thanks, I've managed to do it correcly, now I'm inn chapter 5.
Now I'm seeing:
This kinda commands:
mkdir -v ../binutils-build
cd ../binutils-build
but which directory the book is using to fill that in because ../ means two directorys back in HTML/CSS I think here is the same?
So do I have to be in $LFS/sources or what?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:50 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
|
|