Re: chroot problems

2009-07-16 Thread Bruce Dubbs
Russell Stockhammer wrote: > For some reason the coreutils executables have linked to /lib/ld-linux.so.2. > If I make a symlink of /tools/lib/ld-linux.so.2 -> /lib/ld-linux.so.2 > everything in coreutils works perfectly. Now I suspect since glibc is the > first thing to be built that this one sym

RE: chroot problems

2009-07-16 Thread Russell Stockhammer
> > You could also check the libraries: > > $ ldd /tools/bin/env > linux-gate.so.1 => (0xe000) > libc.so.6 => /tools/lib/libc.so.6 (0xb7e6e000) > /tools/lib/ld-linux.so.2 (0xb7fbd000) > There we go! # ldd /tools/bin/env linux-gate.so.1 => (0x006cb000) libc.so.6 => /l

Re: chroot problems

2009-07-16 Thread Bruce Dubbs
Russell Stockhammer wrote: > >> What about 'ls /tools/bin'? That looks OK. Does 'ls -l /tools; look like: lrwxrwxrwx 1 root root 14 Jul 16 10:59 /tools -> /mnt/lfs/tools If that is OK, then I don't know what is wrong. The files programs env and bash are there. Of course you need to run chr

RE: chroot problems

2009-07-16 Thread Russell Stockhammer
> > What about 'ls /tools/bin'? > [ falsemkfifo stty addr2line fgrepmknodsu arfind more sum asfmt mountsu-tool

Re: chroot problems

2009-07-16 Thread Bruce Dubbs
Russell Stockhammer wrote: >> What does 'echo $LFS' give you? > /mnt/lfs What about 'ls /tools/bin'? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

RE: chroot problems

2009-07-16 Thread Russell Stockhammer
> > What does 'echo $LFS' give you? > /mnt/lfs Russ _ Looking for a place to rent, share or buy this winter? Find your next place with Ninemsn property http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Edomain%2Ecom%2

Re: chroot problems

2009-07-16 Thread Bruce Dubbs
Russell Stockhammer wrote: > Gday everyone, > I am at the stage where I am chroot'ing into the temporary LFS environment > but I am having problems. If I run the command: > > chroot "$LFS" /tools/bin/env -i \ > HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ > PATH=/bin:/usr/bin:/sbin:/usr/sbi

Re: chroot problems

2009-07-16 Thread Justin P. Mattock
Russell Stockhammer wrote: > Gday everyone, > > This may not be a LFS issue but I will ask here first since it > happened with the LFS build. > > I am at the stage where I am chroot'ing into the temporary LFS > environment but I am having problems. If I run the command: > > chroot "$LFS" /tools/

chroot problems

2009-07-16 Thread Russell Stockhammer
Gday everyone, This may not be a LFS issue but I will ask here first since it happened with the LFS build. I am at the stage where I am chroot'ing into the temporary LFS environment but I am having problems. If I run the command: chroot "$LFS" /tools/bin/env -i \ HOME=/root TERM

Re: userspace error

2009-07-16 Thread Ken Moffat
2009/7/16 Bruce Dubbs : > Ken Moffat wrote: > >> For a desktop, a >> separate /home (and space reservedfor the _next_ LFS) also >> simplifies subsequent rebuilds (although that can be awkward >> if people want to share /home with distros). > > Why is it awkward?  The only change needed is to make t

Re: userspace error

2009-07-16 Thread Bruce Dubbs
Ken Moffat wrote: > For a desktop, a > separate /home (and space reservedfor the _next_ LFS) also > simplifies subsequent rebuilds (although that can be awkward > if people want to share /home with distros). Why is it awkward? The only change needed is to make the correct entry in fstab. It's

Re: userspace error

2009-07-16 Thread Ken Moffat
2009/7/16 Richard Melville : > Ken Moffat wrote:- > >>   If /boot is a separate filesystem, you can use the version of grub >> installed by your host system. > > I would always recommend a separate /boot partition whatever the build. > > Richard > -- So would I, except on ppc's using yaboot. For a

Re: pass 2 build of gcc-3.4.2 has a problem with libgcc_s.so.1

2009-07-16 Thread Justin P. Mattock
Pol Vangheluwe wrote: > But why is it using /lib/libc.so.6 (from the original distribution) > instead of /lfs/tools/lib/libc.so.6? > > > pvg > > > Op 16-jul-09, om 16:11 heeft Justin P. Mattock het volgende geschreven: > >> Pol Vangheluwe wrote: >>> I am trying to install LFS, edition 6.4 on an Ap

Re: pass 2 build of gcc-3.4.2 has a problem with libgcc_s.so.1

2009-07-16 Thread Pol Vangheluwe
But why is it using /lib/libc.so.6 (from the original distribution) instead of /lfs/tools/lib/libc.so.6? pvg Op 16-jul-09, om 16:11 heeft Justin P. Mattock het volgende geschreven: Pol Vangheluwe wrote: I am trying to install LFS, edition 6.4 on an Apple PowerPC 7200 (indeed, an "old-world"

Re: userspace error

2009-07-16 Thread Richard Melville
Ken Moffat wrote:- > If /boot is a separate filesystem, you can use the version of grub > installed by your host system. I would always recommend a separate /boot partition whatever the build. Richard -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch

Re: userspace error

2009-07-16 Thread Richard Melville
Ken Moffat wrote:- > If /boot is a separate filesystem, you can use the version of grub > installed by your host system. I would always recommend a separate /boot partition whatever the build. Richard -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch

Re: pass 2 build of gcc-3.4.2 has a problem with libgcc_s.so.1

2009-07-16 Thread Justin P. Mattock
Pol Vangheluwe wrote: > I am trying to install LFS, edition 6.4 on an Apple PowerPC 7200 > (indeed, an "old-world" Mac). I installed linux from the MkLinux > distribution R1 (yes, a very old distribution) and then upgraded the > system to Linux 2.6 from > sources. I could not upgrade glibc wi

Re: pass 2 build of gcc-3.4.2 has a problem with libgcc_s.so.1

2009-07-16 Thread Justin P. Mattock
Pol Vangheluwe wrote: > I am trying to install LFS, edition 6.4 on an Apple PowerPC 7200 > (indeed, an "old-world" Mac). I installed linux from the MkLinux > distribution R1 (yes, a very old distribution) and then upgraded the > system to Linux 2.6 from > sources. I could not upgrade glibc wi

pass 2 build of gcc-3.4.2 has a problem with libgcc_s.so.1

2009-07-16 Thread Pol Vangheluwe
I am trying to install LFS, edition 6.4 on an Apple PowerPC 7200 (indeed, an "old-world" Mac). I installed linux from the MkLinux distribution R1 (yes, a very old distribution) and then upgraded the system to Linux 2.6 from sources. I could not upgrade glibc without breaking the system, s

Re: glibc failing on make

2009-07-16 Thread Rajinder Yadav
On Thu, Jul 16, 2009 at 1:04 AM, Rajinder Yadav wrote: > On Thu, Jul 16, 2009 at 12:58 AM, Bruce Dubbs wrote: >> Rajinder Yadav wrote: >> >>> Can you be more specific? I am not sure what script you're taking >>> about and I don't see a Section iv  Host System Requirements? It is in >>> LFS-SVN20090