6.9. Glibc-2.23 / 6.9.1. Installation of Glibc
hi,
I ran into a problem. I got this far and I think I did everything well, but here I got this error while I tried to prepare glibc for compilation. I applied the patch which went fine and obviously created the directory entered into the directory. I ran the /configure and the error I got was this: /build# $LFS/sources/glibc-2.23/configure --prefix=/usr \ > --disable-profile \ > --enable-kernel=2.6.32 \ > --enable-obsolete-rpc checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for readelf... readelf checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ can link programs... yes checking for sysdeps preconfigure fragments... aarch64 alpha arm hppa i386 m68k microblaze mips nacl nios2 powerpc s390 sh sparc tile x86_64 checking whether gcc compiles in -mx32 mode by default... no configure: running configure fragment for add-on libidn checking for assembler and linker STT_GNU_IFUNC support... no checking sysdep dirs... sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic checking for a BSD-compatible install... /sources/glibc-2.23/scripts/install-sh -c checking whether ln -s works... yes checking whether as is GNU as... yes checking whether ld is GNU ld... yes checking for as... as checking version of as... 2.26.20160125, ok checking for ld... ld checking version of ld... 2.26.20160125, ok checking for gnumake... no checking for gmake... no checking for make... make checking version of make... 4.1, ok checking for gnumsgfmt... no checking for gmsgfmt... no checking for msgfmt... msgfmt checking version of msgfmt... 0.19.7, ok checking for makeinfo... makeinfo checking version of makeinfo... v. ?.??, bad checking for sed... sed checking version of sed... 4.2.2, ok checking for gawk... gawk checking version of gawk... 4.1.3, ok checking if gcc is sufficient to build libc... yes checking for nm... nm configure: WARNING: *** These auxiliary programs are missing or incompatible versions: makeinfo *** some features will be disabled. *** Check the INSTALL file for required versions. checking LD_LIBRARY_PATH variable... ok checking for bash... /bin/bash checking for perl... /usr/bin/perl /sources/glibc-2.23/configure: line 5162: /usr/bin/perl: No such file or directory checking for install-info... /tools/bin/install-info checking for bison... no checking for .set assembler directive... yes checking linker support for protected data symbol... yes checking for broken __attribute__((alias()))... no checking whether to put _rtld_local into .sdata section... yes checking whether to use .ctors/.dtors header and trailer... no checking for libunwind-support in compiler... yes checking whether --noexecstack is desirable for .S files... yes checking for -z combreloc... yes checking for linker that supports -z execstack... no checking for -fpie... yes checking for --hash-style option... yes checking for sufficient default -shared layout... no checking for GLOB_DAT reloc... yes checking linker output format... elf64-x86-64 checking for -fno-toplevel-reorder -fno-section-anchors... yes checking for -fstack-protector... yes checking for -fstack-protector-strong... yes checking whether cc puts quotes around section names... yes checking for __builtin_memset... no checking for redirection of built-in functions... yes checking for compiler option to disable generation of FMA instructions... -ffp-contract=off checking if gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))... yes checking for libgd... no checking for is_selinux_enabled in -lselinux... no checking for _FORTIFY_SOURCE predefine... no checking whether gcc implicitly enables -fstack-protector... configure: error: unexpected symbols in test: root:/sources/glibc-2.23/build# make make: *** No targets specified and no makefile found. Stop. < --enable-kernel=2.6.32 --enable-obsolete-rpc checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for readelf... readelf checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ can link programs... yes checking for sysdeps preconfigure fragments... aarch64 alpha arm hppa i386 m68k microblaze mips nacl nios2 powerpc s390 sh sparc tile x86_64 checking whether gcc compiles in -mx32 mode by default... no configure: running configure fragment for add-on libidn checking for assembler and linker STT_GNU_IFUNC support... no checking sysdep dirs... sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic checking for a BSD-compatible install... /sources/glibc-2.23/scripts/install-sh -c checking whether ln -s works... yes checking whether as is GNU as... yes checking whether ld is GNU ld... yes checking for as... as checking version of as... 2.26.20160125, ok checking for ld... ld checking version of ld... 2.26.20160125, ok checking for gnumake... no checking for gmake... no checking for make... make checking version of make... 4.1, ok checking for gnumsgfmt... no checking for gmsgfmt... no checking for msgfmt... msgfmt checking version of msgfmt... 0.19.7, ok checking for makeinfo... makeinfo checking version of makeinfo... v. ?.??, bad checking for sed... sed checking version of sed... 4.2.2, ok checking for gawk... gawk checking version of gawk... 4.1.3, ok checking if gcc is sufficient to build libc... yes checking for nm... nm configure: WARNING: *** These auxiliary programs are missing or incompatible versions: makeinfo *** some features will be disabled. *** Check the INSTALL file for required versions. checking LD_LIBRARY_PATH variable... ok checking for bash... /bin/bash checking for perl... /usr/bin/perl /sources/glibc-2.23/configure: line 5162: /usr/bin/perl: No such file or directory checking for install-info... /tools/bin/install-info checking for bison... no checking for .set assembler directive... yes checking linker support for protected data symbol... yes checking for broken __attribute__((alias()))... no checking whether to put _rtld_local into .sdata section... yes checking whether to use .ctors/.dtors header and trailer... no checking for libunwind-support in compiler... yes checking whether --noexecstack is desirable for .S files... yes checking for -z combreloc... yes checking for linker that supports -z execstack... no checking for -fpie... yes checking for --hash-style option... yes checking for sufficient default -shared layout... no checking for GLOB_DAT reloc... yes checking linker output format... elf64-x86-64 checking for -fno-toplevel-reorder -fno-section-anchors... yes checking for -fstack-protector... yes checking for -fstack-protector-strong... yes checking whether cc puts quotes around section names... yes checking for __builtin_memset... no checking for redirection of built-in functions... yes checking for compiler option to disable generation of FMA instructions... -ffp-contract=off checking if gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))... yes checking for libgd... no checking for is_selinux_enabled in -lselinux... no checking for _FORTIFY_SOURCE predefine... no checking whether gcc implicitly enables -fstack-protector... configure: error: unexpected symbols in test: and obviously it stopped. does anybody have any idea what went wrong, what I missed, etc.? I tried to decompile again the glibc and creating a new build directory but it did not help of course. thanks in advance! |
looks like perl is missing and makeinfo, check perl was installed in chap 5 properly, please also post your version.sh script output
|
Quote:
|
I can see that the system cannot see it. but I think my question would be is it ok to reinstall perl as in chapter 5 now and carry on with the above step?
|
Quote:
thanks again! |
Chapter 6 requires a symbolic link in /usr/bin to /tools/bin/perl, because some configure scripts have that location wired in. You'll find it under the section on creating essential directories and links.
|
Quote:
|
All times are GMT -5. The time now is 09:55 AM. |