Re: Some LFS 6.5 - 6.6 Inconsistencies

2010-06-08 Thread Simon Geard
On Mon, 2010-06-07 at 17:45 -0500, Bruce Dubbs wrote: That's not so easy. We create the book with Docbook xml. I don't know of a way to to do that. We do have both a change log and a What's new section. We are trying to do a new release every 6 months. If you look at What's new, almost

Glibc Make Error - Pass 1, Chapter 5.7, LFS Book 6.6

2010-06-08 Thread Rademaker, Pascal (Dealis)
Hello everybody, I am new to this mailing list and this is also my first try to build a LFS. I am using Linux for several years now and decided now to try to build my own Linux. Ok, now for my building environment. If there are any infos missing, just ask: Base system: Debian kernel

Re: Glibc Make Error - Pass 1, Chapter 5.7, LFS Book 6.6

2010-06-08 Thread Andrew Benton
On 08/06/10 10:05, Rademaker, Pascal (Dealis) wrote: mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [) /[^ mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ] mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, ,

AW: Glibc Make Error - Pass 1, Chapter 5.7, LFS Book 6.6

2010-06-08 Thread Rademaker, Pascal (Dealis)
Ups, that could be the point! Many, many thanks Andy!!! I will report again, but I guess, that´s it! Greetings Pascal -Ursprüngliche Nachricht- Von: lfs-support-boun...@linuxfromscratch.org [mailto:lfs-support-boun...@linuxfromscratch.org] Im Auftrag von Andrew Benton Gesendet:

Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-08 Thread Andrew Benton
On 07/06/10 16:35, linux fan wrote: # Hack to solve glibc __stack_chk_guard cross compile ( 2.4 :) # this schpeel in LFS-6.6 ch5 gcc-pass1 and ch5 gcc-pass2 after unpack: glibc=$(ls /lib/libc-*.so) read j1 v[0] v[1] v[2] j2 ${glibc//[-.]/ } if (( v[0] 2 )) || (( v[1] 4 )) [ -f

Re: Some LFS 6.5 - 6.6 Inconsistencies

2010-06-08 Thread Neal Murphy
That's not so easy. We create the book with Docbook xml. I don't know of a way to to do that. We do have both a change log and a What's new section. We are trying to do a new release every 6 months. If you look at What's new, almost every package changes each time, but most use the

Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-08 Thread linux fan
On 6/8/10, Andrew Benton b3n...@gmail.com wrote: shouldn't that be if (( ${v[0]} 2 )) (( ${v[1]} 4 )) or maybe (( v[0] == 2 )) (( v[1] 4 )) ... bash (( allowed me to omit $ and {} around variables/arrays )) But in the target lfs-6.6, glibc 2.4 is true, so the test isn't even needed.

Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-08 Thread linux fan
On 6/8/10, Andrew Benton b3n...@gmail.com wrote: so the whole thing can be reduced to: v=($(ls /lib/libc-*.so | sed 's/[.-]/ /g')) [ (( ${v[1]} 2 )) (( ${v[2]} 4 )) ] sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' ../gcc-4.5.0/gcc/configure [ $(ls /lib/libc-*.so \ | sed 's/[.-]/

Build Runlevel

2010-06-08 Thread Paul Rogers
I don't recall the book saying anything about it, possibly runlevel 3 is so typical it has never come up, but as I mentioned a week ago or so, I think there would be an advantage to building LFS within runlevel 2--where there's no network running, no chance of some external attack on a vulnerable

Re: Glibc Make Error - Pass 1, Chapter 5.7, LFS Book 6.6

2010-06-08 Thread Paul Rogers
mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [) /[^ mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ] mawk: scripts/gen-sorted.awk: line 19: runaway regular expression /, , I've never used mawk, so I'm not familiar how

Re: Build Runlevel

2010-06-08 Thread Bruce Dubbs
Paul Rogers wrote: I don't recall the book saying anything about it, possibly runlevel 3 is so typical it has never come up, but as I mentioned a week ago or so, I think there would be an advantage to building LFS within runlevel 2--where there's no network running, no chance of some external

Re: Some LFS 6.5 - 6.6 Inconsistencies

2010-06-08 Thread Bruce Dubbs
Neal Murphy wrote: That's not so easy. We create the book with Docbook xml. I don't know of a way to to do that. We do have both a change log and a What's new section. We are trying to do a new release every 6 months. If you look at What's new, almost every package changes each time, but

Re: Glibc Make Error - Pass 1, Chapter 5.7, LFS Book 6.6

2010-06-08 Thread Neal Murphy
On Tuesday 08 June 2010 11:48:52 Paul Rogers wrote: mawk: scripts/gen-sorted.awk: line 19: regular expression compile failed (bad class -- [], [^] or [) /[^ mawk: scripts/gen-sorted.awk: line 19: syntax error at or near ] mawk: scripts/gen-sorted.awk: line 19: runaway regular expression

live and learn

2010-06-08 Thread piper.guy1
Hi, Started reading and doing what the book says (6.6). Didn't take too long before I got myself into trouble. :-( In Host system Requirements, the instructions explicitly wants '/bin/sh' to be pointing to bash. Mine was pointing to dash. So I endeavoured to change it by deleting the symlink

Re: live and learn

2010-06-08 Thread Bruce Dubbs
piper.guy1 wrote: Hi, Started reading and doing what the book says (6.6). Didn't take too long before I got myself into trouble. :-( In Host system Requirements, the instructions explicitly wants '/bin/sh' to be pointing to bash. Mine was pointing to dash. So I endeavoured to change it

Re: live and learn

2010-06-08 Thread Ken Moffat
On 8 June 2010 21:08, piper.guy1 piper.g...@gmail.com wrote: Sooo...before I do something else that I'm not suppose to do, I thought I'd get advise first. My thinking is that I need to get a Linux rescue or recovery CD, mount the file system on the hard drive, and then add a symlink to bash.

Re: live and learn

2010-06-08 Thread Mike McCarty
piper.guy1 wrote: Hi, Started reading and doing what the book says (6.6). Didn't take too long before I got myself into trouble. :-( Hee hee! Aren't we having fun! Before starting in on something like this, be sure your backup and recovery procedure works well. So, join the explicitly non

Re: live and learn

2010-06-08 Thread Andrew Benton
On 08/06/10 21:54, Mike McCarty wrote: piper.guy1 wrote: Sooo...before I do something else that I'm not suppose to do, I thought I'd get advise first. My thinking is that I need to get a Linux rescue or recovery CD, mount the file system on the hard drive, and then add a symlink to bash. Make

Re: live and learn

2010-06-08 Thread linux fan
I haven't read where piper.guy confirmed that bash is installed or that if bash is not installed, that changing the link to point to bash won't help. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above

Re: live and learn

2010-06-08 Thread Bruce Dubbs
linux fan wrote: I haven't read where piper.guy confirmed that bash is installed or that if bash is not installed, that changing the link to point to bash won't help. I don't know of a distro that doesn't install bash by default unless you are using tomsrtbt. -- Bruce --

Re: HSR's

2010-06-08 Thread Paul Rogers
[ $(ls /lib/libc-*.so \ | sed 's/[.-]/ /g' \ awk '{print ($23 $34) ? foo : bar}') == | foo ] sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' ../gcc- 4.5.0/gcc/configure Please pardon me being silly. I think you'd've LOVED APL! This is better than one sed to insert no- in nscd's

Re: live and learn

2010-06-08 Thread Bruce Dubbs
Mike McCarty wrote: # cd LFS/6.3 # rm -rf build and deleted /dev from my host system! No discs, no printers, no terminals, etc. I rebooted with a Knoppix disc, let it populate /dev, and then mounted my hard drive, and copied (yes copied using cp) /dev onto my hard drive. I don't think

Re: live and learn

2010-06-08 Thread Bruce Dubbs
Mike McCarty wrote: Yeah, deleting the link without changing your /etc/passwd entry to point to a valid shell would do that. Changing the /etc/password file won't do much. The bootscripts need /bin/sh. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ:

Re: live and learn

2010-06-08 Thread piper.guy1
On Tue, Jun 8, 2010 at 5:50 PM, linux fan linuxscra...@gmail.com wrote: I haven't read where piper.guy confirmed that bash is installed or that if bash is not installed, that changing the link to point to bash won't help. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ:

Re: HSR's

2010-06-08 Thread Neal Murphy
On Tuesday 08 June 2010 19:04:21 Paul Rogers wrote: You can minimize the interval with ln -sf bash /bin/sh. Then it stomps on the old link to dash and there's no appreciable interval when there's no /bin/sh--but it's still not to be advised when it's a shell something in your tty branch might

Re: live and learn

2010-06-08 Thread Neal Murphy
On Tuesday 08 June 2010 16:54:52 Mike McCarty wrote: piper.guy1 wrote: One more thing. Seeing that this is a very risky thing to be advising in LFS 6.6, can I suggest that the authour(s) add some caveats around this instruction? The best way to do LFS is to pretend you are the computer,

Re: live and learn

2010-06-08 Thread Neal Murphy
On Tuesday 08 June 2010 18:57:21 Bruce Dubbs wrote: Mike McCarty wrote: # cd LFS/6.3 # rm -rf build and deleted /dev from my host system! No discs, no printers, no terminals, etc. I rebooted with a Knoppix disc, let it populate /dev, and then mounted my hard drive, and copied (yes

Re: live and learn

2010-06-08 Thread Bruce Dubbs
Neal Murphy wrote: I started playing with UNIX in 1986, and Linux in the mid-nineties. And just a couple weeks ago, I overwrote a disk that contained half of a couple striped MD filesystems. Lost nearly 10 years of pics and history. No backups? How is this different (in effect) from a

Re: live and learn

2010-06-08 Thread Neal Murphy
On Tuesday 08 June 2010 20:05:46 Bruce Dubbs wrote: Neal Murphy wrote: I started playing with UNIX in 1986, and Linux in the mid-nineties. And just a couple weeks ago, I overwrote a disk that contained half of a couple striped MD filesystems. Lost nearly 10 years of pics and history. No

Re: live and learn

2010-06-08 Thread littlebat
On Tue, 8 Jun 2010 16:08:18 -0400 In Host system Requirements, the instructions explicitly wants '/bin/sh' to be pointing to bash. Mine was pointing to dash. under Ubuntu, try sudo dpkg-reconfigure dash. Any recommendations on a rescue disk? CDlinux. ( http://cdlinux.info/ ) PS: try