RE: Omnibook XE3 combo net device

2006-10-12 Thread Brandon Peirce
lauri.kasanen wrote: Hi. Im not sure if this is the right place to ask this, nor if this Nor am I. It's still not clear to me if you are using LFS or only Knoppix! No matter... My laptop has a 56k modem and a 100mbps lan in a combo device, in one mini-pci slot. lspci shows them separately,

Re: Hints that will be deleted

2006-10-09 Thread Brandon Peirce
Rainer Peter Feller wrote: On Sun, 2006-10-08 at 12:38 -0500, Tushar Teredesai wrote: > > Please refer to Alexander's e-mail at > . > If there are no objections to his analysis, I will move the hints that > he ha

Re: Problems installing Expect-5.42.1

2006-10-09 Thread Brandon Peirce
Richard Caldwell wrote: Thanks Brandon. That worked, and for some weird reason I didn't have to ad the --with-tcl... line to ./configure as I had previously done. I must have done something incorrectly the first time. Not really weird. If the Tcl stuff (headers, libraries,..) is all instal

RE: Problems installing Expect-5.42.1

2006-10-08 Thread Brandon Peirce
Richard Caldwell wrote: Hi, I'm having the following problem: Book version 6.0, using LiveCD, using the setenv.sh file from the "Building LFS from Live CD Hint". When I tried to install Expect-5.42.1 I had an error when I ran the line ./configure --prefix=/tools --with-tcl=/tools/lib --with-x=

RE: Error during the "Adjusting Toolchain" - section 5.7 of the book

2006-10-07 Thread Brandon Peirce
Vladimir Marcu wrote: a quick question about an error I got when I issued a command from section 5.7 of the book: mv -v /tools/bin/{ld-new,ld} - when I issued this command I got an error message saying that ld-new does not exist. I don't remember creating any "ld-new" filwe along the way.

Re: keyboard problem

2006-10-07 Thread Brandon Peirce
Richard Caldwell wrote: How do you check your keyboard/locale configuration and change it? Next time I reboot I'll try a differenet keyboard as a matter of interest. You don't need to reboot to try out different keyboard mappings. I'm not very familiar with the live CD, but I'm assuming it doe

RE: 6.12.1. Installation of GCC (Book: LFS Version 6.2)

2006-10-05 Thread Brandon Peirce
Brandon Peirce wrote: entered the chroot with the correct command? Check that your PATH is correct (/usr/bin first and /tools/bin last) and that shell From ch 6.4: "PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin" Ok, /usr/bin should be 2nd not 1st, but the point is that the n

RE: lfs-support Digest, Vol 1088, Issue 1

2006-10-05 Thread Brandon Peirce
Vladimir Marcu wrote: Indeed you are right. I discovered this the hard way. I'll start over. That's how we learn :) -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

RE: 6.12.1. Installation of GCC (Book: LFS Version 6.2)

2006-10-05 Thread Brandon Peirce
knutz wrote: Hi. This is my fourth attempt at an LFS system - I have had one success so far - I applaude your persistence :) In section 6.12.1 - Installation of GCC all goes well. The test-suite shows some errors, but I carry on as it usually does. I start the test for the dynamic linker. A

Re: GCC-3.4.1-Pass1 problem

2006-10-04 Thread Brandon Peirce
Richard Caldwell wrote: Chris Staub wrote: > That host system is too new to build that old version of LFS. You need > to either find an older distro to use as a host, or build the latest > stable LFS version. I see that the latest book version online is 6.2, so I wouldn't have thought that 6.

RE: error during the installation of binutils

2006-10-04 Thread Brandon Peirce
Vladimir Marcu wrote: I seem to get stuck at the section 5.3.1 of the book, during the "make install" of binutils. I am trying to build the LFS system using the LFS Live CD as a host. This is the output from "make install": [...] mkdir -p -- /tools /tools mkdir: cannot create directory '/t

RE: Glibc error

2006-09-27 Thread Brandon Peirce
Wojciech Giel wrote: >When replying, please edit your Subject line so it is more specific >than "Re: Contents of lfs-support digest..." Please follow that advice. It makes life easier for people to see what the mail is about before they open it :-) > >From: "

RE: Glibc error

2006-09-24 Thread Brandon Peirce
Wojciech Giel wrote: Hi I'm compiling LFS 6.2. I get this result of check test of glibc in 6.9 chapter root:/sources/glibc-build# grep Error glibc-check-log make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored) That one, as you can see, is safe to ignore make[2]: *** [/source

Re: ncurses build problem (resolved)/new problem with GAWK

2006-09-22 Thread Brandon Peirce
Tony Sequeira wrote: On Fri, 2006-09-22 at 19:49 +0200, Brandon Peirce wrote: > Christopher Parker wrote: > > >The source of this problem was due to GAWK not parsing the parameters > >correctly. I now have the problem that the following command > > > >echo

Re: ncurses build problem (resolved)/new problem with GAWK

2006-09-22 Thread Brandon Peirce
Christopher Parker wrote: The source of this problem was due to GAWK not parsing the parameters correctly. I now have the problem that the following command echo "parm1 parm2" | awk '{print $1}' resolves to "parm1 parm2" instead of just "parm1". Has anyone seen this before, or have any sug

Re: Bash log file hangs

2006-09-21 Thread Brandon Peirce
Peter Ennis wrote: Dan Nicholson gmail.com> writes: > Not the answer you're looking for, but a much better general purpose > solution is to use screen. It's an awesome terminal multiplexer. ... It works great and the hanging error in bash tests passed. This is a great resource for others readi

Re: Bash log file hangs

2006-09-18 Thread Brandon Peirce
Peter Ennis wrote: Brandon Peirce hotmail.com> writes: > Did you try running the test in the foreground, without the script and > without > too many other things running at the same time? > The tests work normally without scripting. Compiling the complete LFS it again stop

RE: Chap 8.4 Problem with GRUB

2006-09-18 Thread Brandon Peirce
Ellis Wilson wrote: Almost to my own distro, but ran into a problem on the last page (of course) of instructions trying to make grub setup my hd0. I've got 4 partitions on a 160gb hd, 1 being M$ (unfortunately) 2 being ext3 (LFS), 3 being a storage fat32 partition and 4 being my swap. Now upon

RE: package users: using a config user for post-installationmodification of conf

2006-09-18 Thread Brandon Peirce
Angel Tsankov wrote: The package users hint (http://www.linuxfromscratch.org/hints/downloads/files/more_control_and_pkg_man.txt) says: In case you were wondering if you should create /etc/nsswitch.conf and /etc/ld.so.conf as root or glibc, I recommend to assign all files that you manually creat

RE: Bash log file hangs

2006-09-14 Thread Brandon Peirce
Peter Ennis wrote: When I get to Bash in 6.27 the script hangs. I have the process in the background and log the results. It has happened twice. Suggestions on how to further debug this would be appreciated. Did you try running the test in the foreground, without the script and without too

Re: Switching users in a bash script?

2006-09-13 Thread Brandon Peirce
Dan wrote: On 9/4/06, Brandon Peirce wrote: > > One _advantage_ of the coreutils version is that is implements a -c switch > which the shadow version doesn't. (More about -c later.) The shadow version implements -c to pass a command. su would be pretty crippled without it.

Re: Precompiled Temporary Toolchains

2006-09-13 Thread Brandon Peirce
On Tue, 12 Sep 2006, Dan Nicholson wrote: On 9/12/06, Brandon Peirce <[EMAIL PROTECTED]> wrote: Dan Nicholson wrote: >The advice at the end of Ch. 6 is bogus. Would you care to elaborate? Thx A long standing hammering of /tools done in the toolchain readjustment. When you fin

Re: Precompiled Temporary Toolchains

2006-09-12 Thread Brandon Peirce
Dan Nicholson wrote: The advice at the end of Ch. 6 is bogus. -- Dan -- Would you care to elaborate? Thx -Brandon -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: Switching users in a bash script?

2006-09-07 Thread Brandon Peirce
Angel Tsankov wrote: > exit > END FILE > > Then simply call: > echo build-package-name.txt | su What will happen if I do not append an 'exit' at the end of the file? Then it will get stuck I think and you will have to hit C-c to get out of it. No, it does not. I tried with and without 'exi

Re: Switching users in a bash script?

2006-09-04 Thread Brandon Peirce
tdin must be tty I don't actually understand why 'echo' is used. I would have expected: cat build-package-name.txt | su or equivalently: su On 29/08/06 00:12:00, Brandon Peirce wrote: > >I have never seen this technique before. But being curious I tried it too > >and

RE: mounting ptoc

2006-08-31 Thread Brandon Peirce
dave frost wrote: somehting strange has happened, it seems mount reports proc is mounted about 15 times, theres also loads of entries in /etc/mtab but /proc/mounts reports /proc mounted only a single time. The output of 'mount' without parameters is basically just a formatted dump of what's

Re: package users: re-adjusting the toolchain

2006-08-30 Thread Brandon Peirce
Chris Staub wrote: Chris Staub wrote: You're not *supposed* to be using package users in chapter 5. It's only in chapter 6. The only package installed using package users so far should be glibc. From the hint: Build Chapter 5 exactly as explained by the LFS book. There is only one little c

Re: package users: re-adjusting the toolchain

2006-08-30 Thread Brandon Peirce
Chris Staub wrote: The adjusted linker is installed into /tools, so you need to use root. Why root? Of course you can always achieve this with root, but that's kind of missing the point of package users technique, (and also violating principle of least privelege). I concede that the motivat

Re: package users: re-adjusting the toolchain

2006-08-30 Thread Brandon Peirce
Angel Tsankov wrote: As what user should I re-adjust the toolchain in Ch. 6 of LFS 6.1.1? "First, backup the /tools linker, and replace it with..." The linker (ld) is part of the binutils package, so the first block of commands (3 mv and 1 ln) should be done as your binutils package user. F

RE: package users: re-adjusting the toolchain

2006-08-30 Thread Brandon Peirce
Angel Tsankov wrote: As what user should I re-adjust the toolchain in Ch. 6 of LFS 6.1.1? "First, backup the /tools linker, and replace it with..." The linker (ld) is part of the binutils package, so the first block of commands (3 mv and 1 ln) should be done as your binutils package user. "Nex

RE: init and init scripts

2006-08-30 Thread Brandon Peirce
dave frost wrote: Now i thought that the scripts would have to work out what the previous runlevel was (using an exported shell variable) and stop the previous runlevel, but this doesnt seem to be working. It struck me that the shell the init script runs in when entering a runlevel wont be th

Re: upgrade of libc-2.3.3.so to libc-2.3.6.so problematic?

2006-08-28 Thread Brandon Peirce
lynx.abraxas wrote: Forgot to ask what gcc version You'd recommend for glibc, and wich for the kernel, and the rest? Should it all be compiled by the same version? I know 2.95 is not good anymore but version 4 does something wrong, too. 3.3.6 then, or 3.4? I suggest that if you want

Re: Switching users in a bash script?

2006-08-28 Thread Brandon Peirce
lynx.abraxas wrote: On 27/08/06 12:19:38, Scott wrote: > On Sat, Aug 26, 2006 at 06:11:43PM -0700, [EMAIL PROTECTED] wrote: > > Here's how you pipe commands. > > > > Throw an "exit" on the end of that, your root password on the front, giving: > > START FILE > > 123456 > > ./configure --prefix

RE: Permission denied -- how to report a bug?

2006-08-27 Thread Brandon Peirce
I wrote: I couldn't enter a defect ticket in the LFS wiki using a login I used successfully once before. I guess this is not the right forum to deal with that issue, so what is? Sorry. Withdraw that question. Problem was with my ISP's proxy. Bypassed and now it works. B. -- http://linuxf

Permission denied -- how to report a bug?

2006-08-27 Thread Brandon Peirce
I couldn't enter a defect ticket in the LFS wiki using a login I used successfully once before. I guess this is not the right forum to deal with that issue, so what is? Thanks, Brandon. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.h

Re: upgrade of libc-2.3.3.so to libc-2.3.6.so problematic?

2006-08-27 Thread Brandon Peirce
Dan Nicholson wrote: So, you want to install into a temporary location. make install_root=/some/temp/location install Certainly, however you proceed after to upgrade your live system you want to start with the above. You don't want to leave this critical installation in the hands of the Makef

Re: upgrade of libc-2.3.3.so to libc-2.3.6.so problematic?

2006-08-27 Thread Brandon Peirce
Dan Nicholson wrote: So, you want to install into a temporary location. make install_root=/some/temp/location install Certainly, however you proceed after to upgrade your live system you want to start with the above. You don't want to leave this critical installation in the hands of the Makef

Re: Switching users in a bash script?

2006-08-27 Thread Brandon Peirce
[EMAIL PROTECTED] wrote: If you really want it fast, you can put almost everything into the main script and have the 'su' script just call 'make install'. I think you are assuming that compiling is done as lfs user and install is done as root. That is the normal case, but it's not like that f

Re: Switching users in a bash script?

2006-08-27 Thread Brandon Peirce
Luca Dionisi wrote: On 8/27/06, Angel Tsankov <[EMAIL PROTECTED]> wrote: Btw, how do I call a function in a bash script from another bash script? Try putting all your functions alone in a file, then source that file (man source) That's one possibility that definitely works. AFAIK if you 'e

Re: Dejagnu 1.4.4 testsuite failures

2006-08-23 Thread Brandon Peirce
Dan Nicholson wrote: On 8/22/06, Brandon Peirce <[EMAIL PROTECTED]> wrote: The only thing I could find in Google is http://savannah.gnu.org/bugs/?func=detailitem&item_id=17176 which describes my problem almost exactly but without further info. Impressive. If your failures are like

Re: Dejagnu 1.4.4 testsuite failures

2006-08-23 Thread Brandon Peirce
Colin Kemp wrote: On Aug 22, 2006, at 10:59 PM, Brandon Peirce wrote: I'm having massive failures with the Dejagnu testsuite, by which I mean 21 failures and only 3 passes! Dejagnu itself seems fine, because I installed it anyway and used it to successfully run binutils and gcc tests

Re: (no subject)

2006-08-23 Thread Brandon Peirce
Dan Nicholson wrote: On 8/22/06, Colin Kemp <[EMAIL PROTECTED]> wrote: When I built my LFS system, i got the GRUB error 18 message at stage 1.5. i looked this up and saw something about my disk was beyond the scope of the BIOS or something (the meaning of error 18). First, can i have a clarific

Dejagnu 1.4.4 testsuite failures

2006-08-22 Thread Brandon Peirce
Hi all, I know I pushing my luck asking this question here because I'm not exactly following the book, but any suggestions would be appreciated. I'm having massive failures with the Dejagnu testsuite, by which I mean 21 failures and only 3 passes! The only thing I could find in Google is ht

Re: LFS Version 6.2 - 8.4. Making the LFS System Bootable

2006-08-22 Thread Brandon Peirce
Wang, Baojun wrote: Does LFS 6.2 require kernel 2.6.16? if not, you can copy a config file(usally /boot/config-2.6.x-xxx) to override the .config file under linux source tree then rebuild the kernel. here is the .config file for linux 2.6.15 modify very small from ubuntu 6.06 LTS:

Re: LFS Version 6.2 - 8.4. Making the LFS System Bootable

2006-08-20 Thread Brandon Peirce
S. Anthony Sequeira wrote: On Sun, 2006-08-20 at 14:40 +0200, Mag. Leonhard Landrock wrote: > As I said: My boot device for LFS is an external USB hard disk. In > fact, it is > a Western Digital WD2500BB in an external USB case. > > > If it's a SATA disk, you will find the SATA drivers under SCS

RE: LFS Version 6.2 - 8.4. Making the LFS System Bootable

2006-08-20 Thread Brandon Peirce
Mag. Leonhard Landrock wrote: When trying to boot my LFS kernel, it starts and finally gets stuck with the following error: VFS: Cannot open root device "sdb3" or unknown-block (0,0) Please append a correct "root" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-

find syntax (was: LFS Version 6.2 - Chapter 7. Setting Up System Bootscripts...)

2006-08-18 Thread Brandon Peirce
Mag. Leonhard Landrock wrote: Why does "find / -name syslogd -exec pwd ;" not work? You need to protect the last ; from the shell so it is passed as an argument to find, not seen as the end of the find command by the shell. You can choose \; ";" or ';' BTW, the description of the -exec actio

Re: First-time LFS book reader beeing stuck

2006-08-18 Thread Brandon Peirce
Richard Szlachta wrote: Actually, ls -l /mnt/data/tools says it is nor file nor directory. I must have misunderstood something in the book. I think you did. Re-read "4.2. Creating the $LFS/tools Directory" and the bits about /tools... in "5.2. Toolchain Technical Notes" I have placed tool

Re: Uninstalling software in Linux

2006-08-15 Thread Brandon Peirce
Angel Tsankov wrote: Really simple way: Run ./configure and make as usual, but don't make install yet. Run touch /baseline (any file works) to set a baseline date. Run make install. Run find / -cnewer /baseline | sed -e '/^\/proc/d' -e '^\/sys/d' > /packagename.txt . This will show all of the f

Re: LFS 6.1.1: umount: /mnt/lfs: device is busy

2006-08-12 Thread Brandon Peirce
On Sat, 12 Aug 2006 12:41:45 +0300, Angel Tsankov wrote: Also, if you forgot to unmount anything while chrooted, that would do it too. I have not mounted anything other than the following devices (during populating /dev): mount -nvt tmpfs none /dev mount -vt devpts -o gid=4,mode=620 none /de

Re: LFS Version 6.2 - Binutils-2.16.1 - Pass 1 - compilation fails

2006-08-06 Thread Brandon Peirce
On Sun, 6 Aug 2006, Mag. Leonhard Landrock wrote: Am Sonntag, 6. August 2006 16:52 schrieb Mag. Leonhard Landrock: > I did some simple investigation based on what Dan Nicholson told in his > e-mail. It definitely looks as if the binutils package tries to use the gcc > compiler of "GCC-4.0.3 - P

RE: Does this error is okey? # grep Error glibc-check-log make[2]:[/sources/glib

2006-08-04 Thread Brandon Peirce
On Fri, 4 Aug 2006 19:26:33 +0300, nadav vinik wrote: When I perform make check in glibc I get # grep Error glibc-check-log make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored) Is it okey??? Okay. See: http://archives.linuxfromscratch.org/mail-archives/lfs-support/2006-April/03

Re: Compiling with MSYS

2006-08-04 Thread Brandon Peirce
[EMAIL PROTECTED] wrote: MSYS (or MinGW, almost same thing) has GCC. On 8/3/06, Jaqui Greenlees <[EMAIL PROTECTED]> wrote: --- "Shane D. Johnson" <[EMAIL PROTECTED]> wrote: > I found MSYS while I was investigating QEMU. Has > anyone tried to use > it to compile LFS? > the Linux kernel actu

Re: glibc-2.3.4 make check error

2006-08-04 Thread Brandon Peirce
Danny wrote: Although I could go on, I'm thinking of starting all over now with 6.2 (as the 6.1.1 book isn't available online anymore (am I correct in this??)) http://archive.linuxfromscratch.org/lfs-museum/6.1.1/LFS-BOOK-6.1.1-HTML/ All old versions are available there, in all the usual forma

RE: glibc-2.3.4 make check error

2006-08-03 Thread Brandon Peirce
On Wed, 02 Aug 2006 14:11:39 +0200, Danny wrote: Now I am trying to build a LFS on my PII, 350MHz, 96MB Unfortunatly now I am stuck at chapter 6.11 from the book (V6.1.1) Make[2]: *** [/sources/glibc-build/posix/bug-regex24.out] Error 1 Make[2]: *** [/sources/glibc-build/posix/tst-regex2.out]

Re: binutils options

2006-07-30 Thread Brandon Peirce
On Sat, 29 Jul 2006 21:18:32 -0600, Dennis J Perkins wrote: On Sun, 2006-07-30 at 01:59 +0200, Brandon Peirce wrote: > so if you feel like compiling the interesting stuff that you've found into > a document (or an update to an existing document), I'm sure many > people wou

Re: binutils options

2006-07-29 Thread Brandon Peirce
On Fri, 28 Jul 2006 22:24:04 -0600, Dennis J Perkins wrote: I've been googling on cross compiling and comparing different methods of cross compiling, but some things, like --with-sysroot, aren't well documented, so I was trying to find something more comprehensive. I think I understand most of

Re: binutils options

2006-07-28 Thread Brandon Peirce
On Wed, 26 Jul 2006 22:10:42 -0600, Dennis J Perkins wrote: On Wed, 2006-07-26 at 18:47 -0400, rblythe wrote: > Dennis J Perkins wrote: > > I'm trying to learn more about the toolchain. I've found guides for > > building a toolchain, and I sometimes see options like --with-sysroot, > > but I am