Error while compiling GLIBC

Daniil Uspensky daniil at qnc.ru
Fri Jan 31 05:02:22 PST 2003


> Post a copy of the errors.
> > I am building a first LFS distribution. But when I reached to glibc
[...skipped...]

.configure say's:
=== BEGIN ===
loading cache ./config.cache
checking host system type... i686-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/i686 linuxthreads/sysdeps/i386
sysdeps/unix/sysv/linux/i386/i686 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/i686/fpu sysdeps/i386/i686
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... (cached) /static/bin/install -c
checking whether ln -s works... (cached) yes
checking for pwd... (cached) /static/bin/pwd
checking build system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking version of gcc... 3.2, ok
checking for gnumake... (cached) make
checking version of make... 3.80, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... no
checking for makeinfo... (cached) makeinfo
checking version of makeinfo... 4.2, ok
checking for gsed... (cached) sed
checking version of sed... 3.02, ok
checking whether the C compiler (gcc  ) works... (cached) no
checking whether the C compiler (gcc  ) is a cross-compiler... (cached) yes
checking whether we are using GNU C... (cached) yes
checking build system type... i686-pc-linux-gnu
checking how to run the C preprocessor... (cached) /lib/cpp
checking whether
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/
as is GNU as... (cached) yes
checking whether
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/
ld is GNU ld... (cached) yes
checking for mig... (cached) mig
checking whether ranlib is necessary... (cached) no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... (cached) -static-libgcc
checking for bash... (cached) /bin/sh
checking for mawk... (cached) gawk
checking for perl... (cached) no
checking for install-info... (cached) /static/bin/install-info
checking for old Debian install-info... (cached) no
checking for bison... (cached) no
checking for signed size_t type... (cached) yes
checking for libc-friendly stddef.h... (cached) yes
checking whether we need to use -P to assemble .S files... (cached) no
checking whether .text pseudo-op must be used... (cached) yes
checking for assembler global-symbol directive... (cached) .globl
checking for .set assembler directive... (cached) no
checking for .symver assembler directive... (cached) yes
checking for ld --version-script... (cached) yes
checking for .previous assembler directive... (cached) yes
checking for .protected and .hidden assembler directive... (cached) yes
checking for -z nodelete option... (cached) yes
checking for -z nodlopen option... (cached) yes
checking for -z initfirst option... (cached) yes
checking for -Bgroup option... (cached) yes
checking for -z combreloc... (cached) yes
checking whether cc puts quotes around section names... (cached) no
checking for assembler .weak directive... (cached) yes
checking for ld --no-whole-archive... (cached) yes
checking for gcc -fexceptions... (cached) yes
checking for DWARF2 unwind info support... (cached) static
checking for __builtin_expect... (cached) yes
checking for local label subtraction... (cached) yes
checking for libgd... no
checking size of long double... (cached) 0
running configure fragment for
../glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux
running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux
checking installed Linux kernel header files... (cached) 2.0.10 or later
checking for symlinks in /usr/include... ok
running configure fragment for ../glibc-2.2.5/sysdeps/unix/common
running configure fragment for ../glibc-2.2.5/sysdeps/unix
running configure fragment for ../glibc-2.2.5/sysdeps/generic
checking stdio selection... libio
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
creating ./config.status
creating config.make
creating glibcbug
creating Makefile
creating config.h
config.h is unchanged
configuring in linuxthreads
running /bin/sh
../../glibc-2.2.5/linuxthreads/configure  --prefix=/usr --disable-profile --
enable-add-ons --libexecdir=/usr/bin --cache-file=.././config.cache --srcdir
=../../glibc-2.2.5/linuxthreads
=== END ===

make say's:
=== BEGIN ===
execv: Permission denied
/usr/src/glibc-build/sunrpc/rpcgen: C preprocessor failed with exit code 1
make[2]: *** [/usr/src/glibc-build/sunrpc/xbootparam_prot.stmp] Error 1
make[2]: *** Leaving directory `/usr/src/glibc-2.2.5/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: *** Leaving directory `/usr/src/glibc-2.2.5'
make: *** [all] Error 2
=== END ===

After "make clean" and "chmod +x ../glibc-2.2.5/scripts/cpp" make success.
But "make install" say:
=== BEGIN ===
mv -f /usr/src/glibc-build/wctype/stubsT /usr/src/glibc-build/wctype/stubs
make[2]: Leaving directory `/usr/src/glibc-2.2.5/wctype'
make  -C manual subdir_install
make[2]: Entering directory `/usr/src/glibc-2.2.5/manual'
pwd=`pwd`; \
no libm-err-tab.pl $pwd/.. > libm-err-tmp
make[2]: Leaving directory `/usr/src/glibc-2.2.5/manual'
make[1]: Leaving directory `/usr/src/glibc-2.2.5'
/bin/sh: no: command not found
make[2]: *** [stamp-libm-err] Error 127
make[1]: *** [manual/subdir_install] Error 2
make: *** [install] Error 2
=== END ===


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