Problems compiling GCC
cth at carlh.net
Wed Oct 3 13:17:26 PDT 2001
On Wed, 3 Oct 2001, Gerard Beekmans wrote:
> On Wed, Oct 03, 2001 at 05:10:05PM +0100, Carl Hetherington wrote:
> > I've got to the stage of building GCC 2.95.3 with my chrooted LFS
> > directory, but make bootstrap gives me
> > ... stuff ...
> > make: Entering directory `/usr/src/gcc-build/gcc'
> > cd ../../gcc-2.95.3/gcc; autoconf
> > /bin/sh: autoconf: command not found
> > make: *** [../../gcc-2.95.3/gcc/configure] Error 127
> > make: Leaving directory `/usr/src/gcc-build/gcc'
> > make: *** [all-gcc] Error 2
> > I haven't installed autoconf into my LFS system yet as it comes later in
> > the LFS-book chapter! I assume that either I need autoconf to build GCC,
> > or that GCC can be told not to use autoconf.
> GCC shouldn't use autoconf, unless you did something to gcc and now it
> thinks that it needs autoconf. Did you apply a patch other than the one
> that's mentioned in the lfs book? It can also be caused by the fact that a
> configure.in file has a newer timestamp than a configure file, in which
> cause 'configure' thinks it needs to be re-built. Perhaps you opened a
> configure.in file and saved it (even though you may not have made changes,
> the timestamp would have been updated in that case).
Thanks for the speedy reply, Gerard. It does indeed seem like something
had gone wrong with the configuration.
Deleting the gcc-2.95-3 and gcc-build directories and starting again has
got it going fine.
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
More information about the lfs-support