Patch error

Harold Noad noadie at
Sun Oct 15 13:18:16 PDT 2000

Larry Coleman wrote:
> I get the following error when trying to install patch after chrooting.
> root:/usr/src/lfs/patch-2.5.4$ ./configure --prefix=/usr
> loading cache ./config.cache
> checking host system type... configure: error: can not guess host type;
> you must specify one
> root:/usr/src/lfs/patch-2.5.4$
> Is there something I'm missing?

You need a link from gcc to cc in /usr/bin
Linux From Scratch
Chapter 5. Preparing the LFS system
cd $LFS/lib &&
     ln -s ../usr/lib/gcc-lib/*/2.95.2/cpp cpp &&
     cd $LFS/usr/lib &&
     ln -s gcc-lib/*/2.95.2/cpp cpp &&
     cd $LFS/usr/bin &&
->   ln -s gcc cc   <-

Harold Noad

Unsubscribe: send email to lfs-discuss-request at
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list