Re: A way to keep track of packages while installing LFS

2006-02-01 Thread Stephen Liu
Hi Justin, > I am using the LiveCD, - snip - > I would like to see how to > keep track of what files different packages > install. I'm running LiveCD to build LFS and run "script" to record keystrokes and screen output and save the same on HD. Because once reboot the logfile will disappear.

Re make check - 5.6. Glibc-2.3.4

2005-12-31 Thread Stephen Liu
Hi folks, lfs 6.1.1 host - lfs-livce CD 6.1.1.2 Chapter 5.6. Glibc-2.3.4 After having been caught on Chapters 6.55. Sysklogd-1.4.1 and 6.56. Sysvinit-2.86 on "invalid group `root'", I formatted the HD and re-started from the beginning. On Chapter 5.6. Glibc-2.3.4 Running; lfs:~sources/glibc-buil

Re: invalid group `root'

2005-12-29 Thread Stephen Liu
H Randy, Tks for your response. --- Randy McMurchy <[EMAIL PROTECTED]> wrote: - snip - > If you'll explain what exactly is wrong (please summarize, sometimes > you messages are so long that I lose train of thought trying to > read them), we'll all see if we can help. OK On encountering follow

Re: invalid group `root'

2005-12-29 Thread Stephen Liu
Hi Ken and Chris, --- Ken Moffat <[EMAIL PROTECTED]> wrote: > On Wed, 28 Dec 2005, Chris Staub wrote: - snip - > Perhaps there > > was a problem with the shadow installation. > > I _think_ the problem is from grpconv, it seems to be badly behaved - snip - Furthermore to my last posting, I

Re: invalid group `root'

2005-12-28 Thread Stephen Liu
Hi Ken, --- Ken Moffat <[EMAIL PROTECTED]> wrote: _ snip - > Take a look at > that process with ps and the number ('ps > 26708') and see if it tells you > anything about the process - snip - > If the process is indeed still running, and is grpconv, kill it : > first > try -HUP, but use -

Re: invalid group `root'

2005-12-28 Thread Stephen Liu
Hi Chris, Tks for your advice. Chris Staub <[EMAIL PROTECTED]> wrote: - snip - > I've never seen this problem. All I can suggest (until someone else > has > a better idea) is to go through your command history and check what > commands you actually entered and compare them with what's in the

invalid group `root'

2005-12-28 Thread Stephen Liu
Hi folks, lfs-6.1.1 host - lfs liveCD 6.1.1.2 chroot environment Following error popup on installing sysklogd-1.4.1 root:/sources/sysklogd-1.4.1# make install /usr/bin/install -o root -g root -m 644 sysklogd.8 /usr/share/man/man8/sysklogd.8 /usr/bin/install: invalid group `root' make: *** [insta

Re: Problem encountered on section 5.3

2005-12-26 Thread Stephen Liu
Hi Lennon, > can use su > without giving a password. This is my second round building LFS and my first time using LFS-liveCD as host which is alreay running as root. On its building no another non-root user only "lfs". I think other builders using Linux distro as host may need the password.

Re: Problem encountered on section 5.3

2005-12-26 Thread Stephen Liu
Hi Lennon, Tks for your advice, > Go read the book again. You wouldn't be having this problem if you'd > read and followed Chapter 4. I checked my notes against "Section 4.3. Adding the LFS User" of the book. I completed running follows; # chown -v lfs $LFS/tools # chown -v lfs $LFS/sources Bu

Problem encountered on section 5.3

2005-12-26 Thread Stephen Liu
Hi folks, LFS 6.1.1 = 5.3. Binutils-2.15.94.0.2.2 - Pass 1 Having encountered problem on running; $ make install (remark: installing packages on "su - lfs") with following warning; ... mkdir: cannot create directory `/tools/info': Permission denied make[2]: *** [install-info-am] Err

About chapters 6.5 and 6.6

2005-12-20 Thread Stephen Liu
Hi folks, About chapters 6.5. Creating Directories 6.6. Creating Essential Symlinks http://www.linuxfromscratch.org/lfs/view/stable/chapter06/creatingdirs.html instead of typing all command lines stipulated there, can I first create following simple script:- #! /bin/sh # Creating Directories in

Re: FC4 as a host [Was: Re: file format not recognized from ld right from the start????]

2005-12-02 Thread Stephen Liu
Hi Chris, > No, don't use that hint - it gives bad advice. Just boot from the > livecd, copy source files from /sources to $LFS/sources, and do > everything else by the book. OK. Noted with tks. BR SL -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratc

Re: FC4 as a host [Was: Re: file format not recognized from ld right from the start????]

2005-12-02 Thread Stephen Liu
Hi Chris, > No, the LiveCD cannot be installed to the hard drive - that's the > point > of the LiveCD. Tks for your advice. I found the document; http://www.linuxfromscratch.org/hints/downloads/files/install-lfs-from-livecd.txt By Joseph M. Dupré DATE: 2005-08-13 SYNOPSIS: How to build a LFS 6

Re: FC4 as a host [Was: Re: file format not recognized from ld right from the start????]

2005-12-01 Thread Stephen Liu
Hi Hari, > Why don't you just use the LiveCD? Oh, yes. I have LFS-LiveCD 6.1-3 here. I can't remember exactly whether it is necessary to intall it on the HD. OR just run it on the PC to install LFS on the empty HD, preformatted. I suppose I saw this posting before, installing LFS direct fro

Re: FC4 as a host [Was: Re: file format not recognized from ld right from the start????]

2005-12-01 Thread Stephen Liu
Hi Richard and folks, > IIRC, Fedora patches the hell out of GCC-4 so that it isn't a regular > GCC-4 anymore. I don't feel up to searching out all the threads on > this. I think the best advice is still 'Don't build LFS from FC-4'. > > R. I'm prepared to have another round on building LFS -->

Re: can't chroot to new system

2005-09-15 Thread Stephen Liu
Hi Chris, > That has nothing to do with it. The error is with /tools/bin/env, not > > the chroot command. You've had the problem yourself, remember? IIRC, the interpreter /tools/lib/ld-linux.so.2 can't be found. I re-installed gcc and bash, then the problem gone. BR SL -- http://linuxfromsc

Re: A question about house keeping

2005-09-15 Thread Stephen Liu
Hi Brandin, > Just remove the "xterm &" line from your .xinitrc. The only > thing you > really need in your .xinitrc is the command to start your window > manager > (twm). You can start any program you want from the twm menu, > including xterm. Noted with thanks On the line "xterm -g 80x40+0+0 &

Re: can't chroot to new system

2005-09-14 Thread Stephen Liu
Hi ÕÅ ÓÂ˳, > i am install the lfs 6.1 in debian 3.1 > with kernel 2.6.8.11-i386 gcc 3.4.3 > and make this erren > [EMAIL PROTECTED]:/mnt/lfs# chroot "$LFS" /tools/bin/env -i > \ > > HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \ > > PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ > > /

Re: Printing problem - installing HP driver

2005-09-11 Thread Stephen Liu
Hi frank, Tks for your advice. > the appropriate "LogLevel" in cupsd.conf and check > /var/cups/log/error_log for details. checked /var/log/cups/access_log >>> localhost - root [11/Sep/2005:03:22:41 +0800] "GET /printers/HP_Printer HTTP/1.1" 200 3494 localhost - root [11/Sep/2005:03:22:42 +

Printing problem

2005-09-10 Thread Stephen Liu
Hi folks, HP Deskjet 5740 (USB printer) Cups-1.1.23 BLFS 6.1 I have cups installed and running # /etc/rc.d/init.d/cups status cupsd is running with Process ID(s) 3334. I also have the printer setup with "http://localhost:631/admin"; Description: HP Deskjet 5740 Location: localhost Printer State

Re: Problem on installing Xorg - solved

2005-08-18 Thread Stephen Liu
Hi Chris, > /usr/bin" you're supposed to run another command > before "mkdir ../xcbuild". Oh sorry, I missed "popd". Problem now solved. root:/sources/xc$ mkdir ../xcbuild && > cd ../xcbuild && > lndir ../xc .. ../../xc/util/misc: ../../xc/util/memleak: root:/sources/xcbuild$ root:/so

No rule to make target `install'

2005-08-18 Thread Stephen Liu
Hi folks, Installing "GLib-1.2.10" problem http://www.linuxfromscratch.org/blfs/view/stable/general/glib.html root:/sources/glib-1.2.10$ patch -Np1 -i ../glib-1.2.10-gcc34-1.patch && > ./configure --prefix=/usr && > make root:/sources/glib-1.2.10$ make install && > chmod -v 755 /usr/lib/libgmo

Re: Problem on installing Xorg

2005-08-18 Thread Stephen Liu
Hi Uli, Tks for your advice. > just do > > ln -s gcc /usr/bin/cc In chroot environment root:/$ ln -s gcc /usr/bin/cc (no printout) root:/$ ls -l /usr/bin/cc lrwxrwxrwx 1 root root 3 2005-08-19 06:16 /usr/bin/cc -> gcc Xorg-6.8.2 http://www.linuxfromscratch.org/blfs/view/stable/x/insta

Problem on installing Xorg

2005-08-18 Thread Stephen Liu
Hi folks, FC3 Host BLFS 6.1 X11R6.8.2-src.tar.bz2 MD5 sum: 8131cd7ea1e4566e6e05c438a93fcfe1 # md5sum /mnt/lfs/sources/X11R6.8.2-src.tar.bz2 8131cd7ea1e4566e6e05c438a93fcfe1 /mnt/lfs/sources/X11R6.8.2-src.tar.bz2 8131cd7ea1e4566e6e05c438a93fcfe1 MD5sum found matched. On chroot environment insta

GTK and GTK2

2005-08-17 Thread Stephen Liu
Hi folks, I suppose if having following package installed; http://www.linuxfromscratch.org/blfs/view/stable/x/gtk2.html Chapter 26. X Libraries GTK+-2.6.7 (GTK2) I don't need to install GTK http://www.linuxfromscratch.org/blfs/view/stable/x/gtk.html Chapter 26. X Libraries GTK+-1.2.10 If I'm wro

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: 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 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

Redo Perl-5.8.6 - Permission denied

2005-07-23 Thread Stephen Liu
ib/perl5/5.8.6/warnings.t': Permission denied Please advise how to fix it. B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

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: /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-22 Thread Stephen Liu
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 (0x

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

2005-07-22 Thread Stephen Liu
Hi Chris, Tks for your advice. > > Following problem was encountered on building LFS > 6.1 > > > > [EMAIL PROTECTED] ~]# chroot "$LFS" /tools/bin/env > -i > > HOME=/root TERM="$TERM" PS1='\u:\w\$ ' > > PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin > > /tools/bin/bash --login +h > > /tools/bin/en

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

2005-07-22 Thread Stephen Liu
bin/env* -rwxr-xr-x 1 lfs lfs 12952 Jul 21 18:37 /mnt/lfs/tools/bin/env -rwxr-xr-x 1 lfs lfs 10032 Jul 21 18:37 /mnt/lfs/tools/bin/envsubst The files were there. Please advise how to fix it. TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.lin

Re: 5.3.1. Installation of Binutils

2005-07-19 Thread Stephen Liu
-build$ make install lfs:/mnt/lfs/sources/binutils-build$ make -C ld clean lfs:/mnt/lfs/sources/binutils-build$ make -C ld LIB_PATH=/tools/lib If you are building LFS 6.1 then the above steps will work for you. B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://ww

Re: Help me to build LFS

2005-07-16 Thread Stephen Liu
ore stable. What I have discovered during building LFS 6.0 was '/etc/ld.so.conf' of the host modified resulting in X window failed to start. I don't know whether some other files of the host have been modified or not. Please consider my comment. B.R. Stephen Liu --- bolt <[EMAIL P

make: *** ld: No such file or directory. Stop.

2005-07-12 Thread Stephen Liu
s-build# make -C ld INSTALL=/tools/bin/install install make: Entering directory `/sources/binutils-build/ld' make: *** No rule to make target `install'. Stop. Please advise how to get through this difficulty. TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: Warning on running "make check", second round

2005-07-11 Thread Stephen Liu
Hi Chris, > No, don't apply the patch - that won't work because > the glibc versions Oh, sorry, too late here, done already. I re-ran, the second time, # make check To my surprise this time it went through without complaint/warning. Later I encountered another problem of "Segmentation fault'.

Segmentation fault

2005-07-11 Thread Stephen Liu
/usr/lib/locale root:/sources/glibc-build# localedef -i de_DE -f ISO-8859-1 de_DE Segmentation fault root:/sources/glibc-build# localedef -i [EMAIL PROTECTED] -f ISO-8859-15 [EMAIL PROTECTED] Segmentation fault What is Segmentation fault. How to get rid of them. TIA B.R. Stephen Liu -- http

Re: Warning on running "make check", second round

2005-07-11 Thread Stephen Liu
Hi Chris, - snip - > Actually, it's a different error (look carefully - > it's "tst-cancelx17" > - before it was "tst-cancel17"). That's the other > known frequent-failing > test, also fixed by the patch in the latest LFS. > That error can also be > ignored. Try "make check" again. Performed

Re: Warning on running "make check", second round

2005-07-10 Thread Stephen Liu
Hi Chris, - snip - > >>>root:/sources/glibc-build# make check > >>>. > >>> > >>>make[2]: *** > >>>[/sources/glibc-build/nptl/tst-cancel17.out] > Error > >>> > >>> > >>1 > >> > >> > >>>make[2]: Leaving directory > >>>`/sources/glibc-2.3.4-20040701/nptl' > >>>make[1]: *** [nptl/tes

Re: Warning on running "make check", second round

2005-07-10 Thread Stephen Liu
Hi Chris, Tks for your advice. - snip - > >root:/sources/glibc-build# make check > >. > > > >make[2]: *** > >[/sources/glibc-build/nptl/tst-cancel17.out] Error > 1 > >make[2]: Leaving directory > >`/sources/glibc-2.3.4-20040701/nptl' > >make[1]: *** [nptl/tests] Error 2 > >make[1]: Leavin

Warning on running "make check", second round

2005-07-10 Thread Stephen Liu
Hi folks, After starting up the FC3 host PC, continued building LFS as follows; [EMAIL PROTECTED] ~]$ su - Password: [EMAIL PROTECTED] ~]# export LFS=/mnt/lfs [EMAIL PROTECTED] ~]# mkdir -p $LFS/{proc,sys} [EMAIL PROTECTED] ~]# mount -t proc proc $LFS/proc [EMAIL PROTECTED] ~]# mount -t sysfs sys

Re: `/usr/man/man3' is not a directory

2005-07-10 Thread Stephen Liu
Hi Andrew, Tks for your advice. --- Andrew Benton <[EMAIL PROTECTED]> wrote: > I see. After doing the 'fake' mounts on your host > system > http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter06/kernfs.html > > You should then enter the chroot environment > >http://www.sg.linuxfromscratch.or

how to login root shell

2005-07-09 Thread Stephen Liu
6.9.1. Installation of Linux-Libc-Headers" [url]http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter06/linux-libc-headers.html[/url] Please help. TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See

Re: `/usr/man/man3' is not a directory

2005-07-09 Thread Stephen Liu
Hi Andrew, > Stephen Liu wrote: > > [EMAIL PROTECTED] ~]# mount -n -t ramfs none /dev > > [EMAIL PROTECTED] ~]# mount -t devpts -o > gid=4,mode=620 > > none /dev/pts > > mount: mount point /dev/pts does not exist > > [EMAIL PROTECTED] ~]# mount -t tmpfs none

Warning on running "make check"

2005-07-09 Thread Stephen Liu
`/mnt/lfs/sources/glibc-2.3.4-20040701/stdio-common' make[1]: *** [stdio-common/tests] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4-20040701' make: *** [check] Error 2 < END > Is it necessary to redo it? TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mail

`/usr/man/man3' is not a directory

2005-07-09 Thread Stephen Liu
r 1 Looked at "install --help" but could not figure out the solution. Please advise. TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: AW: I have no name!

2005-07-08 Thread Stephen Liu
ephen > > -----Ursprüngliche Nachricht- > > Von: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > Auftrag > > von Stephen > > Liu > > Gesendet: Freitag, 8. Juli 2005 12:42 > > An: LFS Support List > > Betreff: I have no name! > >

I have no name!

2005-07-08 Thread Stephen Liu
Hi folks, Continued on "6.3. Entering the Chroot Environment" http://www.sg.linuxfromscratch.org/...r06/chroot.html Performed following steps; # mount /mnt/lfs # export LFS=/mnt/lfs # mkdir -p $LFS/{proc,sys} # mount -t proc proc $LFS/proc # mount -t sysfs sysfs $LFS/sys # mount -f -t devpts -o

Re: Problem in "Mounting Virtual Kernel File Systems"

2005-07-02 Thread Stephen Liu
Hi Ken, Tks for your advice. Repeated 4.4. Setting Up the Environment http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter04/settingenvironment.html Started a new Konsole [EMAIL PROTECTED] ~]$ su - lfs Password: lfs:~$ echo $LFS /mnt/lfs lfs:~$ cat > ~/.bash_profile << "EOF" > exec env -

Problem in "Mounting Virtual Kernel File Systems"

2005-07-02 Thread Stephen Liu
mounted [EMAIL PROTECTED] ~]# mount -t sysfs sysfs $LFS/sys mount: sysfs already mounted or /sys busy mount: according to mtab, none is already mounted on /sys Please help. TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.o

Re: Unable to create directories

2005-07-01 Thread Stephen Liu
Hi Chris, Tks for your advice. Before I read; 6. Installing Basic System Software http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter06/chapter06.html Note:- The remainder of this book is to be performed while logged in as user root and no longer as user lfs. I was a little bid confused the

Unable to create directories

2005-07-01 Thread Stephen Liu
MAIL PROTECTED] lfs]# mkdir -p $LFS/{proc,sys} OR on which directory (/mnt/lfs/sources/) to run that command line. Please advise. TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

What is 'user root'

2005-07-01 Thread Stephen Liu
Hi folks, I'm now prepared to proceed on following section 6. Installing Basic System Software http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter06/chapter06.html On following "Note" >> The remainder of this book is to be performed while logged in as user root and no longer as user lfs <<

A question on 5.36. Stripping

2005-07-01 Thread Stephen Liu
--strip-unneeded /tools/{,s}bin/* rm -rf /tools/{doc,info,man} TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: Questions on 5.13. GCC-3.4.1 - Pass 2

2005-06-30 Thread Stephen Liu
continued up to 5.14. Binutils-2.15.91.0.2 - Pass 2 B.R. Stephen > 2005/6/30, Stephen Liu <[EMAIL PROTECTED]>: > > Hi folks, > > > > 5.13. GCC-3.4.1 - Pass 2 > > > http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter05/gcc-pass2.html > > > > 1) >

Questions on 5.13. GCC-3.4.1 - Pass 2

2005-06-30 Thread Stephen Liu
/sources/gcc-3.4.1$ directory; mkdir ../gcc-build cd ../gcc-build Please advise. TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: Held on 5.9. Adjusting the Toolchain

2005-06-30 Thread Stephen Liu
Hi steve, - snip - > Directly above the make -C ld install command is the > following sentence: > > > The linker, adjusted at the end of the first pass of > Binutils, is > installed by running the following command from > within the > binutils-build directory: > Noted with thanks Con

Held on 5.9. Adjusting the Toolchain

2005-06-30 Thread Stephen Liu
-build$ cd ../ lfs:/mnt/lfs/sources$ make -C ld install make: *** ld: No such file or directory. Stop. lfs:/mnt/lfs/sources$ echo $LFS /mnt/lfs on which directory I have to run the command line. Please help. TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ

Re: A question on 5.8. Glibc-2.3.4-20040701

2005-06-29 Thread Stephen Liu
Hi Chris, - snip - > I'm sorry, I kept forgetting that you specified you > were in Chapter 5. > You don't need to worry about the locales at that > stage, though I don't > know why it would give you a segmentation fault. Following document may be relevent Bash-3.0 http://www.linuxpcug.org/less

Re: A question on 5.8. Glibc-2.3.4-20040701

2005-06-29 Thread Stephen Liu
Hi Chris, - snip - > >After running > >lfs:/mnt/lfs/sources/glibc-build$ mkdir -p > >/tools/lib/locale > > > >whether have to run all following commands > >localedef -i de_DE -f ISO-8859-1 de_DE > >localedef -i [EMAIL PROTECTED] -f ISO-8859-15 [EMAIL PROTECTED] > >localedef -i en_HK -f ISO-8859-1

A question on 5.8. Glibc-2.3.4-20040701

2005-06-29 Thread Stephen Liu
localedef -i fr_FR -f ISO-8859-1 fr_FR localedef -i [EMAIL PROTECTED] -f ISO-8859-15 [EMAIL PROTECTED] localedef -i it_IT -f ISO-8859-1 it_IT localedef -i ja_JP -f EUC-JP ja_JP TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs

Re: Fail to create 'binutils-build' directory

2005-06-29 Thread Stephen Liu
Hi Kevin, Tks for your advice. > The way you should go about it is > cd $LFS/sources > tar xvjf binutils-2.16.tar.bz2 > cd binutils-2.16 > mkdir ../binutils-build > cd ../binutils-build I have been proceeding the way as abovementioned and now coming to: 5.5. GCC-3.4.1 - Pass 1 http://www.sg.lin

Re: Fail to create 'binutils-build' directory

2005-06-29 Thread Stephen Liu
Hi Chris and Jim, Tks for your advice. > You need to "cd" into the sources directory, and as > Jim said, all the > package-installation instructions in the book assume > that you have > already untarred the package and entered its source > directory. Whether you meant lfs:~$ cd /mnt/lfs/sourc

Re: Fail to create 'binutils-build' directory

2005-06-29 Thread Stephen Liu
Hi Chris, Tks for your advice. - snip - > You have to make sure you're in the $LFS/sources > directory. I tried following steps; lfs:~$ ls No printout lfs:~$ source ~/.bash_profile No printout lfs:~$ ls -l total 0 lfs:~$ echo $LFS/sources /mnt/lfs/sources B.R. Stephen -- http://linuxfro

Re: Fail to create 'binutils-build' directory

2005-06-29 Thread Stephen Liu
Hi Jim, Tks for your advice. - snip - > You have to change your permissions as the root > user, once you do that > everything will work the way it should. I tried following steps before posting [EMAIL PROTECTED] ~]$ su - Password: (entered host FC3 root password) [EMAIL PROTECTED] ~]# su - l

Fail to create 'binutils-build' directory

2005-06-28 Thread Stephen Liu
un 28 17:05 tools I was not allowed to create 'binutils-build'. Any advice? TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: Problem in running "ln -s $LFS/tools /

2005-06-28 Thread Stephen Liu
Hi Kevin, Tks for your advice. - snip - > Well, it is supposed to be umask not umash. > > cat > ~/.bashrc << "EOF" > set +h > umask 022 > LFS=/mnt/lfs > LC_ALL=POSIX > PATH=/tools/bin:/bin:/usr/bin > export LFS LC_ALL PATH > EOF Ah, I realize that I made a typing mistake on "umask" I did it a

Re: Problem in running "ln -s $LFS/tools /"

2005-06-28 Thread Stephen Liu
Hi Steve, > > What is "bash: umash: command not found"? Is it a > > WARNING? > > You've made a typo - that should be "umask", not > "umash". When you run > the "source" command, bash is reporting that it > cannot find any > command called "umash". I re-checked the printout on Konsole; ... .

Re: Problem in running "ln -s $LFS/tools /"

2005-06-28 Thread Stephen Liu
Hi Steve, Tks for your advice. - snip - > When you "su" you load a new environment, and your > $LFS variable is > lost, so the chown is attempting to access /sources, > instead of > /mnt/lfs/sources. > > do a "export LFS=/mnt/lfs" and run the chown again. Continued proceeding as follows; # ex

Re: Problem in running "ln -s $LFS/tools /"

2005-06-28 Thread Stephen Liu
Hi Andrew, Tks for your advice. > As you can see, /tools already exists. Either you > created it earlier or you didn't set the variable > LFS=/mnt/lfs so when you did mkdir $LFS/tools it was > the same as doing mkdir /tools Sorry, I over-looked "4. Final Preparations" page http://www.sg.linuxfro

Problem in running "ln -s $LFS/tools /"

2005-06-28 Thread Stephen Liu
same result; ln: `//tools': cannot overwrite directory Please advise. TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: Download packages question

2005-06-27 Thread Stephen Liu
Hi Justin, Tks for your advice. I'll start to build LFS 6.0 first. B.R. Stephen --- "Justin R. Knierim" <[EMAIL PROTECTED]> wrote: > Stephen Liu wrote: > > >>From following website; > >ftp://ftp.linuxfromscratch.org/pub/lfs/lfs-packages/ >

Download packages question

2005-06-27 Thread Stephen Liu
linuxfromscratch.org/lfs/view/6.0/chapter03/packages.html 2) If I use 'lfs-packages-6.1-20050625.tar' packages can the manual http://www.sg.linuxfromscratch.org/lfs/view/6.0/ still work? 3) If I use 'lfs-packages-6.1-20050625.tar' packages can I still use version 6.0 patches http

Re: Question on directory created

2005-06-27 Thread Stephen Liu
isted on 3.3. Needed Patches http://www.sg.linuxfromscratch.org/lfs/view/6.0/chapter03/patches.html to /mnt/lfs/sources/ If I did anything wrong, please advise me. TIA B.R. Stephen --- steve crosby <[EMAIL PROTECTED]> wrote: > On 6/27/05, Stephen Liu <[EMAIL PROTECTED]>

Re: Question on directory created

2005-06-26 Thread Stephen Liu
Hi Steve, - snip - > try the following and see if the output is correct. > If not, you need > to go back some steps and confirm you followed the > instructions > correctly regarding the LFS variable. > > echo $LFS > > should produce > > /mnt/LFS # echo $LFS Empty printout # echo LFS LFS Whe

Re: Question on directory created

2005-06-26 Thread Stephen Liu
Hi steve, Tks for your advice. > > /dev/hda6 /mnt/lfs > ext3 > > defaults1 2 > > okay, that means you have already created and > mounted the LFS parition - snip - > Okay, you only need the mkdir /mnt/LFS/$LFS/usr if > you are going to > have your LFS /usr

Question on directory created

2005-06-26 Thread Stephen Liu
is there, '$LFS' not found. Whether /mnt/LFS is '$LFS'? TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: Repartition question

2005-06-03 Thread Stephen Liu
Hi Chakkaradeep, > > Google search brought me following URL > > > http://www.linuxfromscratch.org/lfs/view/testing/chapter02/creatingfilesystem.html > > I think the "Note" on this page will be relevent. > > you need not worry about e2fsprogs at this stage. > Fedora Core-3 is a > good base system

Re: Repartition question

2005-06-03 Thread Stephen Liu
Hi Chakkaradeep, Tks for your advice. --- Chakkaradeep C C <[EMAIL PROTECTED]> wrote: > > > Since the box runs ext3 on all partitions before > > > repartition. Therefore I also made /dev/hda6 > > > and /dev/hda7 run on ext3. > you can build lfs in an ext3 partition...no doubt in > that my f

Re: Repartition question

2005-06-03 Thread Stephen Liu
Hi Ken, Thanks for your advice. --- Ken Moffat <[EMAIL PROTECTED]> wrote: > > /dev/hda5 /home > > /dev/hda6 /mnt/LFS > > /dev/hda7 /mnt/LiveCD > > > > Stylistically, capitalisation (except _perhaps_ > 'CD') is often > considered wrong - if you look at the book, it > mounts at /mnt/lfs. But

Development packages

2005-06-03 Thread Stephen Liu
to install. TIA B.R. Stephen Liu -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Repartition question

2005-06-03 Thread Stephen Liu
/hda5 /home /dev/hda6 /mnt/LFS /dev/hda7 /mnt/LiveCD Since the box runs ext3 on all partitions before repartition. Therefore I also made /dev/hda6 and /dev/hda7 run on ext3. Can I build LFS on ext3? Any comment/advice on the mount points? TIA B.R. Stephen Liu -- http://linuxfromscratch.org/ma