LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 03-14-2012, 12:00 PM   #1
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Rep: Reputation: Disabled
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!
 
Old 03-14-2012, 12:27 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi/Hoi Sjors-rw,

Welcome to LQ!

Quote:
Originally Posted by Sjors-rw View Post
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.
 
Old 03-14-2012, 12:34 PM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 5,953

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
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
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.
 
Old 03-14-2012, 12:40 PM   #4
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-14-2012, 12:44 PM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,
Quote:
Originally Posted by Sjors-rw View Post
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.
 
Old 03-14-2012, 01:01 PM   #6
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
Look, this is my problem:

http://cl.ly/F0UI

Any ideas, the rest seams OK.
 
Old 03-14-2012, 01:18 PM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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.
 
Old 03-14-2012, 01:22 PM   #8
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-14-2012, 01:26 PM   #9
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,
Quote:
Originally Posted by Sjors-rw View Post
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.
 
Old 03-14-2012, 02:55 PM   #10
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
How can I remove multiple files easy? Can I get in filemanager to do so? With Terminal it takes a alot of time...
 
Old 03-14-2012, 03:08 PM   #11
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,
Quote:
Originally Posted by Sjors-rw View Post
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.
 
Old 03-14-2012, 03:13 PM   #12
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
But that's why I wanted to build one, to learn.
 
Old 03-15-2012, 02:56 AM   #13
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
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?
 
Old 03-15-2012, 03:14 AM   #14
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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
 
Old 03-15-2012, 03:22 AM   #15
Sjors-rw
Member
 
Registered: Mar 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
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?
 
  


Reply

Tags
lfs, packages, patches


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to apply patches in lfs 7.0? Atharv Patil Linux From Scratch 5 01-23-2012 11:17 AM
*** YOU'RE USING autoconf (GNU Autoconf) 2.60. KDE requires autoconf 2.52, 2.53 or 2. arubin Slackware 6 09-24-2008 03:31 AM
patches in LFS saritha Linux From Scratch 1 02-13-2008 03:39 AM
LFS-5.0:Chapter 6:autoconf-2.57 Dumper.pm missing jazernorth Linux From Scratch 12 11-12-2005 10:11 AM
URGENT glibc 2.3.3 - lfs -5.1 --> bug in autoconf geiser Linux From Scratch 1 08-18-2004 03:48 PM


All times are GMT -5. The time now is 04:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration