Re: internet connection with liveccd

2005-07-23 Thread Gerard Beekmans
steve crosby wrote: Another option is to apply the FC2\3 workaround permanently - change the book instructions to download, compile and use e2fsprogs from LFS to create the LFS partition always, and never use the host tools. Although that would work for all e2fs problems, I can forsee other FC r

Re: internet connection with liveccd

2005-07-23 Thread steve crosby
On 7/24/05, Jeremy Huntwork <[EMAIL PROTECTED]> wrote: > Alexander E. Patrakov wrote: > > it is hard to do so with the unknown future RedHat extensions in mind, > > but it either has to be done or too-new hosts should be blacklisted > > (thus making LFS live CD the only officially supported host

Re: GCC4 ch. 6: compiler produces unrunnable binaries

2005-07-23 Thread Gerard Beekmans
On July 23, 2005 07:32 pm, Matt Bartley wrote: > [Requesting program interpreter: /lib/ld-linux-so.2] That looks fine. Let's track it down from there. /lib/ld-linux.so.2 (inside chroot, so make sure when you check this out you're looking in the right directory) is a symlink to the read

Re: GCC4 ch. 6: compiler produces unrunnable binaries

2005-07-23 Thread Gerard Beekmans
On July 23, 2005 08:07 pm, David Jensen wrote: > Is support for a.out binaries enabled in your kernel? > CONFIG_BINFMT_AOUT=m or y I think you're getting something mixed up here. It's a common area of confusion, so no worries. a.out is the linker (ld)'s default filename when you don't specify on

Re: internet connection with liveccd

2005-07-23 Thread Jeremy Huntwork
Alexander E. Patrakov wrote: Gerard Beekmans wrote: Are you thinking about the issue with extra attributes that e2fsprogs once upon a time couldn't process? If I am remembering the right issue (it's been a while), that issue has have been fixed in the current e2fsprogs version that we use with

Re: internet connection with liveccd

2005-07-23 Thread Alexander E. Patrakov
Gerard Beekmans wrote: On July 23, 2005 12:34 pm, Jeremy Huntwork wrote: Hrm. Indeed. And I'm not sure about that one. I know there's been reports before now concerning issues with FC4 and ext3, but I can't remember the details. Are you thinking about the issue with extra attributes that e2f

Re: GCC4 ch. 6: compiler produces unrunnable binaries

2005-07-23 Thread David Jensen
On 07/23/05 20:32:25, Matt Bartley wrote: I've built GCC4-20050721 up through chapter 6 "readjusting toolchain". When, as recommended, I compile dummy.c and running readelf -l on it, everything appears normal, but the executable is in fact un-runnable: Is support for a.out binaries enabled in

GCC4 ch. 6: compiler produces unrunnable binaries

2005-07-23 Thread Matt Bartley
[reposted from lfs-dev by request] I've built GCC4-20050721 up through chapter 6 "readjusting toolchain". When, as recommended, I compile dummy.c and running readelf -l on it, everything appears normal, but the executable is in fact un-runnable: [lfs chroot src]# ./a.out bash: ./a.out: No such fi

Re: Redo Perl-5.8.6 - Permission denied

2005-07-23 Thread Randy McMurchy
Stephen Liu wrote these words on 07/23/05 19:23 CST: > [EMAIL PROTECTED] ~]# ls -al /mnt/lfs/tools/info > total 424 > drwxr-xr-x 2 lfs root 4096 Jul 23 10:18 . > drwxr-xr-x 13 lfs root 4096 Jul 22 15:36 .. > -rw-r--r-- 1 lfs root 399981 Jul 23 10:18 bash.info > -rw-r--r-- 1 lfs root

Re: Redo Perl-5.8.6 - Permission denied

2005-07-23 Thread Stephen Liu
Hi David, Tks for your advice. > At this point you should browse the > /mnt/lfs/tools/info and man. You > should be able to deduce which package(s) is > installed incorrectly as it > will be shown 'lfs root' in owner group. You should > really check > /mnt/lfs/tools/bin and lib too. Maybe y

Re: Fcron mail output

2005-07-23 Thread S. Anthony Sequeira
On Sat, 2005-07-23 at 15:24 -0700, benjamin stathos wrote: > --- "S. Anthony Sequeira" <[EMAIL PROTECTED]> > wrote: > > What is your cron command? Myy fcrontab follows > > (wrapped). I do get the output from symlinks and > > find if it does output anything. > > @mail(true) 1 /home/ben/fcron_test

Re: internet connection with liveccd

2005-07-23 Thread Gerard Beekmans
On July 23, 2005 12:34 pm, Jeremy Huntwork wrote: > Hrm. Indeed. And I'm not sure about that one. I know there's been > reports before now concerning issues with FC4 and ext3, but I can't > remember the details. Are you thinking about the issue with extra attributes that e2fsprogs once upon a tim

Re: question about the kernel and user lfs

2005-07-23 Thread Jeremy Huntwork
Jean-Philippe Mengual wrote: Hi, I didn't know enough the livecd, but it's right it's exactly what I want. So I'm going to use it. But I burned a RW CD, with: cdrecord -v dev=ATAPI:0,0,0 -data lfslivecd-x86-6.1-2.iso With a R CD, I get the same result: it doesn't work! Do I a mistake, do I have t

Re: internet connection with liveccd

2005-07-23 Thread Jeremy Huntwork
Alex wrote: I am using ADSL. no NAT no router. To set it up on FC4, only had to say, ADSL, my login name and my password. Once the cd is booted, try using the 'net-setup' command and choose the pppoe option. Note that I understand the error. My question is how could it be different from hda

Re: question about the kernel and user lfs

2005-07-23 Thread Jean-Philippe Mengual
Hi, I didn't know enough the livecd, but it's right it's exactly what I want. So I'm going to use it. But I burned a RW CD, with: cdrecord -v dev=ATAPI:0,0,0 -data lfslivecd-x86-6.1-2.iso With a R CD, I get the same result: it doesn't work! Do I a mistake, do I have to burn differently? Thanks for

Re: gPDF fonts

2005-07-23 Thread Declan Moriarty
Recently, Somebody Somewhere wrote these words > I have two different installations of BLFS, both running running gpdf > 2.10. On both installations, all non-embedded fonts are rendered as a > single font face. On other (non-LFS) systems I've had, gpdf has been > able to render fonts correctly us

Re: internet connection with liveccd

2005-07-23 Thread Alex
Jeremy Huntwork <[EMAIL PROTECTED]> writes: > Alex wrote: >> I tried to use FC4 as a host but had to many problem so decided to >> use the liveCD. I still got 2 remaining problems: >> * from LiveCD I can't use the Internet. I presume it's because my >> password and login name are not set up for my

Re: Scripting error - command doesn't expand properly

2005-07-23 Thread Jeremy Huntwork
Dan Nicholson wrote: cmd1="./configure ..." cmd2="make" ... { time { \ $cmd1 && $cmd2 && ... } } Try this: cmd1=`echo This is command 1` cmd2=`echo This is command 2` time { echo $cmd1 && echo $cmd2; } Notice the backticks encapsulating the command variables, the "`". Also the

Re: internet connection with liveccd

2005-07-23 Thread Jeremy Huntwork
Alex wrote: I tried to use FC4 as a host but had to many problem so decided to use the liveCD. I still got 2 remaining problems: * from LiveCD I can't use the Internet. I presume it's because my password and login name are not set up for my ISP, but I don't know how to do that. What type of in

internet connection with liveccd

2005-07-23 Thread Alex
I tried to use FC4 as a host but had to many problem so decided to use the liveCD. I still got 2 remaining problems: * from LiveCD I can't use the Internet. I presume it's because my password and login name are not set up for my ISP, but I don't know how to do that. * My FC4 system is on hda1 and

Re: Redo Perl-5.8.6 - Permission denied

2005-07-23 Thread David Jensen
Stephen Liu wrote: drwxr-xr-x 6 root root 4096 Jul 21 22:23 .. still remained unchanged This is as it should be. The directory above /mnt/lfs/tools is owned by root. At this point you should browse the /mnt/lfs/tools/info and man. You should be able to deduce which package(s) is inst

Re: Redo Perl-5.8.6 - Permission denied

2005-07-23 Thread Chris Staub
Stephen Liu wrote: Hi Andrew, Tks for your advice. /tools should be a symbolic link pointing at /mnt/lfs/tools [EMAIL PROTECTED] ~]# ls -al /tools lrwxrwxrwx 1 root root 15 Jun 28 17:06 /tools -> //mnt/lfs/tools It is. Is this accurate? It says "/tools" is pointing to "//mnt/lfs/tools"

Re: Redo Perl-5.8.6 - Permission denied

2005-07-23 Thread Stephen Liu
Hi Andrew, Tks for your advice. > chown -R lfs /mnt/lfs/tools > > That may fix the problem, but you shouldn't have > installed anything in tools as root. Before running the command advised. [EMAIL PROTECTED] ~]# ls -al /mnt/lfs/tools total 100 drwxr-xr-x 13 lfs root 4096 Jul 22 15:36 . drwx

Re: Redo Perl-5.8.6 - Permission denied

2005-07-23 Thread Andrew Benton
Stephen Liu wrote: Shall I manually change; drwxr-xr-x 13 lfs root 4096 Jul 22 15:36 . drwxr-xr-x 6 root root 4096 Jul 21 22:23 .. with # chmod -R 777 /mnt/lfs/tools chown -R lfs /mnt/lfs/tools That may fix the problem, but you shouldn't have installed anything in tools as root. If you'

Re: Question about the user LFS and the kernel

2005-07-23 Thread Ken Moffat
On Sat, 23 Jul 2005, Jean-Philippe Mengual wrote: > Hi everybody, > Next friday, I format my disk and put on it a system lfs, that I want > to do myself, I can't put up anymore my Debian, the automatisation > isn't perfect and do problems. But I want things to happen the best > it's possible, that

Re: Redo Perl-5.8.6 - Permission denied

2005-07-23 Thread Stephen Liu
Hi Andrew, Tks for your advice. > /tools should be a symbolic link > pointing at /mnt/lfs/tools [EMAIL PROTECTED] ~]# ls -al /tools lrwxrwxrwx 1 root root 15 Jun 28 17:06 /tools -> //mnt/lfs/tools It is. > The user lfs should own the folder /mnt/lfs/tools > and so should, by definition, have

Question about packages

2005-07-23 Thread Jean-Philippe Mengual
Hi, When I have finished everything, I'll want to install pdftotext, which is in the package xpdf-tools. But this package contains a lot of useless tools for me. So, is it possible to extract pdftotext only, and to install only this package? Or do I have to install all the package? With lfs, I imag

Re: Redo Perl-5.8.6 - Permission denied

2005-07-23 Thread Andrew Benton
Stephen Liu wrote: cp: cannot create regular file `/tools/lib/perl5/5.8.6/warnings.t': Permission denied Please advise how to fix it. Follow the book. /tools should be a symbolic link pointing at /mnt/lfs/tools The user lfs should own the folder /mnt/lfs/tools and so should, by definition, h

Question about the user LFS and the kernel

2005-07-23 Thread Jean-Philippe Mengual
Hi everybody, Next friday, I format my disk and put on it a system lfs, that I want to do myself, I can't put up anymore my Debian, the automatisation isn't perfect and do problems. But I want things to happen the best it's possible, that's why I've two questions. 1. The book makes me install heade

Redo Perl-5.8.6 - Permission denied

2005-07-23 Thread Stephen Liu
Hi folks, Redo 5.32. Perl-5.8.6 http://www.linuxfromscratch.org/lfs/view/stable/chapter05/perl.html lfs:/mnt/lfs/sources$ tar xjf perl-5.8.6.tar.bz2 lfs:/mnt/lfs/sources$ cd perl-5.8.6 lfs:/mnt/lfs/sources/perl-5.8.6$ patch -Np1 -i ../perl-5.8.6-libc-1.patch patching file hints/linux.sh Hunk #1

Re: /tools/bin/env: /tools/bin/bash: No such file or directory

2005-07-23 Thread Jens Olav Nygaard
Please advise in more detail how to make it. Tks. A bit hard to state in general terms, since it (to some degree at least) depends on which book you follow/what you are doing. But do the tests described in the big yellow "Caution"-box. Another thing which I like to do is to first make a backup

Re: /tools/bin/env: /tools/bin/bash: No such file or directory

2005-07-23 Thread Stephen Liu
Hi Jens, Tks for your advice. > And *do* check the results of the sed/perl/whatever > adjustments > to the spec files manually. Please advise in more detail how to make it. Tks. Re ran sanity check [EMAIL PROTECTED] ~]# su - lfs lfs:~$ echo 'main(){}' > dummy.c lfs:~$ cc dummy.c lfs:~$ readel

Re: Errors from hotplug and checkfs bootscripts

2005-07-23 Thread Julio Meca Hansen
On Sat, 2005-07-23 at 16:18 +1000, Lennon Cook wrote: > When I boot my LFS system, I get a message saying that > '/etc/rc.d/sysinit.d/S30checkfs exited with a return value of 127' > On shutdown, I get: > '/etc/rd.d/rc6.d/S50hotplug exited with a return value of 1' > Both messages require me to hit

Re: /tools/bin/env: /tools/bin/bash: No such file or directory

2005-07-23 Thread Stephen Liu
Hi Joern, > I'm answering to Stephen's earlier mail here, > because I just saw something. > > In the output of 'find', where is '/tools/bin/bash'? [EMAIL PROTECTED] ~]$ ls -al /mnt/lfs/tools/bin/bash -rwxr-xr-x 1 root root 1438193 Jul 23 10:18 /mnt/lfs/tools/bin/bash There is no link there.

Re: /tools/bin/env: /tools/bin/bash: No such file or directory

2005-07-23 Thread Joern Abatz
On Fri, Jul 22, 2005 at 11:36:46PM -0400, Chris Staub wrote: > Stephen Liu wrote: I'm answering to Stephen's earlier mail here, because I just saw something. > >Hi folks, > > > >LFS 6.1 > >FC3 Host > > > >Following problem was encountered on building LFS 6.1 > > > >[EMAIL PROTECTED] ~]# chroot "$

Re: info for ppc platform -tnx-

2005-07-23 Thread Jose Carlos Carrion Plaza
Jeremy Huntwork escribió: There isn't a ppc version of the book. Ahem. Yes there is :P http://www.linuxfromscratch.org/lfs/view/multi-arch/ppc/ However, it was never fully completed and released as stable. But it should give you a nice starting point for rounding out the build. Most notab

Re: /tools/bin/env: /tools/bin/bash: No such file or directory

2005-07-23 Thread Jens Olav Nygaard
steve crosby wrote: ... You need to (as Chris pointed out), start from Chapter 5 again, and try and see where you went wrong. Points to check include the "adjusting the linker" step, and the "setup LFS user environment" ... And *do* check the results of the sed/perl/whatever adjustments to th

Re: Having root on a sata drive

2005-07-23 Thread Jens Olav Nygaard
Ken Moffat wrote: Wrong list ? ;-) I know... :-) Not to mention a very nondescriptive 'subject' field.. Search the blfs-support archives, I posted something on x86_64 and Ahh... True... I had it tucked away, remember it now. Will look up. The biggest problem is if you ever try to insta

Re: /tools/bin/env: /tools/bin/bash: No such file or directory

2005-07-23 Thread steve crosby
On 7/23/05, Stephen Liu <[EMAIL PROTECTED]> wrote: > Hi Chris, > > > > # ldd /tools/bin/bash > > > linux-gate.so.1 => (0x00d2) > > > libtermcap.so.2 => /lib/libtermcap.so.2 > > > (0x00ac4000) > > > libdl.so.2 => /lib/libdl.so.2 (0x009d3000) > > > libc.so.6 => /

Re: /tools/bin/env: /tools/bin/bash: No such file or directory

2005-07-23 Thread Chris Staub
Stephen Liu wrote: Hi Chris, # ldd /tools/bin/bash linux-gate.so.1 => (0x00d2) libtermcap.so.2 => /lib/libtermcap.so.2 (0x00ac4000) libdl.so.2 => /lib/libdl.so.2 (0x009d3000) libc.so.6 => /lib/tls/libc.so.6 (0x00882000) /lib/ld-linux.so.2 (0x00868000