glibc compilation don't find gcc

Alex xelahome at free.fr
Fri Jan 3 15:43:17 PST 2003


I am at glibc compilation (chapter 6 of CVS version)
http://linuxfromscratch.org/view/cvs/chapter06/glibc.html

When I do

../glibc-2.3.1/configure --prefix=/usr \
    --disable-profile --enable-add-ons \
    --libexecdir=/usr/bin

I got the following :

loading cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking sysdep dirs... sysdeps/i386/elf
linuxthreads/sysdeps/unix/sysv/linux/i386
linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread
sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix
linuxthreads/sysdeps/i386/i586 linuxthreads/sysdeps/i386
sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu
sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet
sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix
sysdeps/posix sysdeps/i386/i586 sysdeps/i386/i486 sysdeps/i386/fpu
sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96
sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754
sysdeps/generic/elf sysdeps/generic
checking for a BSD compatible install... /static/bin/install -c
checking whether ln -s works... yes
checking for pwd... /static/bin/pwd
checking build system type... i586-pc-linux-gnu
checking for gcc... gcc
checking version of gcc... v. ?.??, bad
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.80, ok
configure: error:
*** These critical programs are missing or too old: gcc
*** Check the INSTALL file for required versions.

However if I check gcc in /static/bin I have :

I have no name!:/static/bin# ls -l /static/bin/gcc
-rwxr-xr-x    2 0        0           93488 Jan  3 23:35 /static/bin/gcc

What is wrong? Have you any clue?

Thank you in advance

Alex

-- 
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 mailing list