Knoppix is missing the patch command

Jonathan Wilkes jancsika at yahoo.com
Thu Dec 17 21:56:07 PST 2009


> Date: Thu, 17 Dec 2009 07:26:31 -0500
> From: Dominic Ringuet <dringuet at gmail.com>
> Subject: Re: Knoppix is missing the patch command
> To: LFS Support List <lfs-support at linuxfromscratch.org>
> Message-ID:
>     <f1c8dcc10912170426q41d33b59p5a6d0d6c36b2b06e at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> The information may be outdated (1 year ago), but I managed
> to build a dev
> LFS system from Knoppix 5.1 on a PII with 256mb RAM.
> 
> The 3 tricks I remember were:
> 
>    1. Use a swap partition, the build failed
> for obscure reasons without any
>    and it was in gcc too if I remember
> correctly. *1.5gig has been enough over
>    here. Knoppix should see and enable it at
> boot time (swapon).
>    2. Build a toolchain texinfo at the start
> of chapter 5.
>    3. Build a toolchain bison before bash in
> chapter 5.
> 
> Here's what I used to compile both bison and texinfo in
> chap 5
> 
> $ ./configure --prefix=/tools
> $ make
> $ make install
> 
> Hoping that helps,
> 
> Dominic.

Dominic and everyone else,
     Thanks for the tips.  I found "patch" after refreshing the 
synaptic packages, and it installed fine.  Now I'm on level 6.9, and 
I get these errors when I run the tests on glibc:

make[2]: *** [/sources/glibc-build/libio/tst-fopenloc.check] Error 127
make[1]: *** [libio/tests] Error 2
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[2]: *** [/sources/glibc-build/posix/bug-regex2-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/bug-regex14-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/bug-regex21-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-rxspencer-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-pcre-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-boost-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/bug-glob2-mem] Error 127
make[2]: *** [/sources/glibc-build/posix/tst-vfork3-mem] Error 127
make[1]: *** [posix/tests] Error 2
make[2]: *** [/sources/glibc-build/misc/tst-error1-mem] Error 127
make[1]: *** [misc/tests] Error 2
make[2]: *** [/sources/glibc-build/crypt/sha512c-test.out] Error 1
make[1]: *** [crypt/tests] Error 2
make[2]: *** [/sources/glibc-build/nptl/tst-stack3-mem] Error 127
make[1]: *** [nptl/tests] Error 2
make[2]: *** [/sources/glibc-build/elf/tst-leaks1-mem] Error 127
make[1]: *** [elf/tests] Error 2
make: *** [check] Error 2

I've checked with the required host packages, and it seems like I have 
everything I need.  I've followed the book very closely up to now, but I'm 
a little intimated by all the errors.  Basically, a) how do I know if 
these errors were caused by mistakes when building the initial, 
temporary toolchain, and b) if that turns out to be the case, is it best 
just to start over from scratch?  ( I didn't build Bison before Bash this 
time around, so I'm not sure if that has anything to do with my errors )

Thank you,
Jonathan


      




More information about the lfs-support mailing list