LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
Search this Thread
Old 02-03-2002, 06:25 PM   #1
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Re-starting LFS


Okay... I have no idea why I'm really posting this as I'm not actually having a problem... but here it goes:

LFS- 3.1
under Fileutils-4.1
My Mother Hen's machine is an AMD 1.2Ghz and running Slack 8, glibc 2.2.3.

There is a huge sed command here to avoid a seg fault problem with 'ls' specifically on AMD machines and glibc-2.2.3. I have that.

After I tried the sed twice, it wouldn't compile. I tried it without the sed, and the 'ls' in $LFS/bin works without seg faulting.

Am I doing something right or wrong? Does this seg fault problem happen every time, or only occasionally?

-Cheers,

Finegan
 
Old 02-03-2002, 10:43 PM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Original Poster
Rep: Reputation: 57
Halfway through Chapter 6 and no issues... I must have been paranoid.

-Cheers,

Finegan

P.S. something just occured to me that may be an issue in the long run, but won't bother me.

In chapter 5, where the kernel headers are installed, make dep, yadyadya... all of the defaults for multiple selections are accepted, blah blah blah, anyway, these days the default kernel is flagged as an i686. If someone were building LFS on a Pentium 1, wouldn't this lead to some problems down the line? Just wanted to know before bother the bossman, Lfslinux.


Last edited by finegan; 02-03-2002 at 11:09 PM.
 
Old 02-04-2002, 03:18 AM   #3
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
I might be wrong but all that's getting done there is creating a few header files which are then used to compile other things like glibc for example. As far as I know the i686 doesn't get put as a hard #define in the headers. So as long as you change it when you get around to really compiling the kernel then you should have no problem with it at all.
 
Old 02-04-2002, 06:58 AM   #4
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
I had the same worries with fileutils, but didnt do the sed command either. ls worked correctlly so I guess were ok, I'm about half way through chapter6 and no major probs yet.

Maybe I missed it, but is it written anywhere that when you reinstall the same programs in chapter 6 as you do in 5 to start with fresh souce code? I ran into some probs when I tried to install the same programs again, but used fresh source and all was good.
 
Old 02-04-2002, 10:00 AM   #5
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
I retract my post, got to the part in ch 6 where you install fileutils and am having probs. Went back an am redoing that part of ch 5 where you install fileutils, and am doing the fix for glibc.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 01:31 AM
Starting up first LFS install tomorrow! stynhx9000 Linux From Scratch 3 11-30-2005 12:42 PM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 06:03 AM
cannot login as user 'lfs' [su - lfs] mayasedai Linux From Scratch 2 07-26-2005 07:10 AM
Please clarify... LFS 1.6 from a 1.4 starting point? sundialsvcs Linux From Scratch 6 07-12-2005 04:08 PM


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

Main Menu
Advertisement
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