Error in MAKE(ing) Glibc-2.2.4

Anders Widman andewid at tnonline.net
Sun Oct 21 02:20:04 PDT 2001


Hi all!

Has anyone any idea what I can do to fix a problem when installing Glibc-2.2.4. I am compiling from a RedHat 7.1 system. Make stops with this error:

make[1]: *** No rule to make target `/usr/src/LFS/3.0/glibc-build/soversions.i', needed by `/usr/src/LFS/3.0/glibc-build/Versions.all'.  Stop.

Below is a complete log.

Thanks,
Anders Widman


------------------------------------
Linux From Scratch: Version 3.0
Chapter 6. Installing basic system software
Installing Glibc-2.2.4
------------------------------------

I have no name!:/usr/src/LFS/3.0/glibc-2.2.4# cp malloc/Makefile malloc/Makefile.backup
I have no name!:/usr/src/LFS/3.0/glibc-2.2.4# sed 's%\$(PERL)%/usr/bin/perl%' malloc/Makefile > tmp~
I have no name!:/usr/src/LFS/3.0/glibc-2.2.4# mv tmp~ malloc/Makefile
I have no name!:/usr/src/LFS/3.0/glibc-2.2.4# cp login/Makefile login/Makefile.backup
I have no name!:/usr/src/LFS/3.0/glibc-2.2.4# sed 's/root/0/' login/Makefile > tmp~
I have no name!:/usr/src/LFS/3.0/glibc-2.2.4# mv tmp~ login/Makefile
I have no name!:/usr/src/LFS/3.0/glibc-2.2.4# mkdir ../glibc-build
I have no name!:/usr/src/LFS/3.0/glibc-2.2.4# cd ../glibc-build
I have no name!:/usr/src/LFS/3.0/glibc-build# ../glibc-2.2.4/configure --prefix=/usr \
> --enable-add-ons --libexecdir=/usr/bin
creating cache ./config.cache
../glibc-2.2.4/configure: grep: command not found
checking host system type... \c
i686-pc-linux-gnu
checking sysdep dirs... \c
sysdeps/i386/elf \c
linuxthreads/sysdeps/unix/sysv/linux/i386 \c
linuxthreads/sysdeps/unix/sysv/linux \c
linuxthreads/sysdeps/pthread \c
sysdeps/pthread \c
linuxthreads/sysdeps/unix/sysv \c
linuxthreads/sysdeps/unix \c
linuxthreads/sysdeps/i386/i686 \c
linuxthreads/sysdeps/i386/i586 \c
sysdeps/i386/i586 \c
sysdeps/i386/i486 \c
linuxthreads/sysdeps/i386 \c
sysdeps/unix/sysv/linux/i386/i686 \c
sysdeps/unix/sysv/linux/i386 \c
sysdeps/unix/sysv/linux \c
sysdeps/gnu \c
sysdeps/unix/common \c
sysdeps/unix/mman \c
sysdeps/unix/inet \c
sysdeps/unix/sysv/i386 \c
sysdeps/unix/sysv \c
sysdeps/unix/i386 \c
sysdeps/unix \c
sysdeps/posix \c
sysdeps/i386/i686/fpu \c
sysdeps/i386/i686 \c
sysdeps/i386/fpu \c
sysdeps/i386 \c
sysdeps/wordsize-32 \c
sysdeps/ieee754/ldbl-96 \c
sysdeps/ieee754/dbl-64 \c
sysdeps/ieee754/flt-32 \c
sysdeps/ieee754 \c
sysdeps/generic/elf sysdeps/generic
checking for a BSD compatible install... \c
/bin/install -c
checking whether ln -s works... \c
yes
checking for pwd... \c
/bin/pwd
checking build system type... \c
i686-pc-linux-gnu
checking for gcc... \c
gcc
checking version of gcc... \c
2.95.3, ok
checking for gnumake... \c
no
checking for gmake... \c
no
checking for make... \c
make
checking version of make... \c
3.79.1, ok
checking for gnumsgfmt... \c
no
checking for gmsgfmt... \c
no
checking for msgfmt... \c
no
checking for makeinfo... \c
makeinfo
checking version of makeinfo... \c
4.0, ok
checking for gsed... \c
no
checking for sed... \c
sed
checking version of sed... \c
3.02, ok
checking whether the C compiler (gcc  
) works... \c
no
checking whether the C compiler (gcc  ) is a cross-compiler... \c
(cached) \c
yes
checking whether we are using GNU C... \c
yes
checking build system type... \c
i686-pc-linux-gnu
checking how to run the C preprocessor... \c
../glibc-2.2.4/configure: grep: command not found
../glibc-2.2.4/configure: grep: command not found
gcc -E
checking for ranlib... \c
ranlib
checking whether as is GNU as... \c
no
checking whether ld is GNU ld... \c
no
checking for mig... \c
mig
configure: warning: 
*** These auxiliary programs are missing or too old: msgfmt
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking whether ranlib is necessary... \c
no
checking LD_LIBRARY_PATH variable... \c
ok
checking for bash... \c
/bin/sh
checking for mawk... \c
mawk
checking for perl... \c
checking for install-info... \c
/usr/bin/install-info
checking for old Debian install-info... \c
../glibc-2.2.4/configure: grep: command not found
yes
checking for bison... \c
no
checking for signed size_t type... \c
../glibc-2.2.4/configure: grep: command not found
yes
checking for libc-friendly stddef.h... \c
yes
checking whether we need to use -P to assemble .S files... \c
no
checking whether .text pseudo-op must be used... \c
yes
checking for assembler global-symbol directive... \c
.globl
checking for .set assembler directive... \c
no
checking for .symver assembler directive... \c
yes
checking for ld --version-script... \c
yes
checking for .previous assembler directive... \c
yes
checking for .protected and .hidden assembler directive... \c
yes
checking for -z nodelete option... \c
no
checking for -z nodlopen option... \c
no
checking for -z initfirst option... \c
no
checking for -Bgroup option... \c
yes
checking for assembler .weak directive... \c
yes
checking for ld --no-whole-archive... \c
yes
checking for gcc -fexceptions... \c
yes
checking for DWARF2 unwind info support... \c
static
checking for __builtin_expect... \c
no
checking for local label subtraction... \c
no
checking for libgd... \c
no
checking size of long double... \c
0
running configure fragment for ../glibc-2.2.4/linuxthreads/sysdeps/unix/sysv/linux
../glibc-2.2.4/configure: grep: command not found
running configure fragment for ../glibc-2.2.4/sysdeps/unix/sysv/linux
checking installed Linux kernel header files... \c
2.0.10 or later
checking for symlinks in /usr/include... \c
ok
../glibc-2.2.4/configure: grep: command not found
running configure fragment for ../glibc-2.2.4/sysdeps/unix/common
../glibc-2.2.4/configure: grep: command not found
../glibc-2.2.4/configure: grep: command not found
../glibc-2.2.4/configure: grep: command not found
../glibc-2.2.4/configure: grep: command not found
running configure fragment for ../glibc-2.2.4/sysdeps/unix
../glibc-2.2.4/configure: grep: command not found
running configure fragment for ../glibc-2.2.4/sysdeps/generic
checking OS release for uname... \c
unknown
checking OS version for uname... \c
unknown
checking stdio selection... \c
libio
checking for old glibc 2.0.x headers... \c
no
checking whether -fPIC is default... \c
no
updating cache ./config.cache
creating ./config.status
../glibc-2.2.4/configure: grep: command not found
creating config.make
creating glibcbug
creating Makefile
creating config-name.h
creating config.h
configuring in linuxthreads
running /bin/sh ../../glibc-2.2.4/linuxthreads/configure  --prefix=/usr --enable-add-ons --libexecdir=/usr/bin --cache-file=.././config.cache --srcdir=../../glibc-2.2.4/linuxthreads
I have no name!:/usr/src/LFS/3.0/glibc-build# cp config.make config.make.backup
I have no name!:/usr/src/LFS/3.0/glibc-build# sed 's/cross-compiling = yes/cross-compiling = no/' \
> config.make > tmp~
I have no name!:/usr/src/LFS/3.0/glibc-build# mv tmp~ config.make
I have no name!:/usr/src/LFS/3.0/glibc-build# make
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.2.4 objdir=`pwd` all
make[1]: Entering directory `/usr/src/LFS/3.0/glibc-2.2.4'
(echo 'sysd-rules-sysdirs := 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/i586 sysdeps/i386/i586 sysdeps/i386/i486 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/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';                    \
 for dir in '$(..)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/i586' '$(..)sysdeps/i386/i586' '$(..)sysdeps/i386/i486' '$(..)
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/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'; do                             
\
   for o in .o .os .op .og .ob .oS; do \
      \
     echo "\$(objpfx)%$o: $dir/%.S \$(before-compile); \
          \$(compile-command.S)";                                     \
     echo "\$(objpfx)%$o: $dir/%.s \$(before-compile); \
          \$(compile-command.s)";                                     \
        \
     echo "\$(objpfx)%$o: $dir/%.c \$(before-compile); \
          \$(compile-command.c)";                                     \
   done; \
    \
   echo "\$(objpfx)%.d: $dir/%.s \$(common-objpfx)dummy.d; \
        \$(make-dummy-dep)";                           \
   echo "\$(objpfx)%.d: $dir/%.S \$(before-compile); \
        \$(+make-deps)";                                              \
        \
   echo "\$(objpfx)%.d: $dir/%.c \$(before-compile); \
        \$(+make-deps)";                                              \
 done;                                                                \
 echo 'sysd-rules-done = t') > /usr/src/LFS/3.0/glibc-build/sysd-rulesT
mv -f /usr/src/LFS/3.0/glibc-build/sysd-rulesT /usr/src/LFS/3.0/glibc-build/sysd-rules
for dir in /usr/src/LFS/3.0/glibc-build 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/i586 sysdeps/i386/i586 sysdeps/i386/i486 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/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; do \
  test -f $dir/syscalls.list && \
  { /bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \
  test $dir = sysdeps/unix && break; \
done > /usr/src/LFS/3.0/glibc-build/sysd-syscallsT
mv -f /usr/src/LFS/3.0/glibc-build/sysd-syscallsT /usr/src/LFS/3.0/glibc-build/sysd-syscalls
mawk 'BEGIN { subdirs = ""; inhibit = "" };                     \
/^#/ { next };                                          \
/^[^-]/ { subdirs = subdirs " " $0 };                   \
/^-/ { inhibit = inhibit " " substr($0, 2) };           \
END { printf "sysdep-subdirs =%s\n", subdirs;           \
      printf "sysdep-inhibit-subdirs =%s\n", inhibit;   \
      print "sysd-dirs-done = t" }'                     \
       /dev/null linuxthreads/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs > /usr/src/LFS/3.0/glibc-build/sysd-dirs-tmp
mv -f /usr/src/LFS/3.0/glibc-build/sysd-dirs-tmp /usr/src/LFS/3.0/glibc-build/sysd-dirs
make[1]: Leaving directory `/usr/src/LFS/3.0/glibc-2.2.4'
make[1]: Entering directory `/usr/src/LFS/3.0/glibc-2.2.4'
{ { dirs='assert catgets iconvdata intl libio localedata malloc nis nscd nss posix resolv rt stdio-common string time wcsmbs';\
    for d in $dirs; do                                            \
      while read on; do                                           \
        echo "depend $d $on";                                     \
      done < $d/Depend;                                   \
    done;                                                         \
    for f in csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype 
manual shadow po argp crypt linuxthreads nss localedata timezone rt conform debug linuxthreads_db inet resolv hesiod sunrpc nis nscd streams login dlfcn elf; do                                       \
      echo $f;                                                    \
    done;                                                         \
  } | mawk -f scripts/gen-sorted.awk &&                                           \
  echo sysd-sorted-done = t;                                      \
} > /usr/src/LFS/3.0/glibc-build/sysd-sorted-tmp
mv -f /usr/src/LFS/3.0/glibc-build/sysd-sorted-tmp /usr/src/LFS/3.0/glibc-build/sysd-sorted
make[1]: Leaving directory `/usr/src/LFS/3.0/glibc-2.2.4'
make[1]: Entering directory `/usr/src/LFS/3.0/glibc-2.2.4'
make[1]: *** No rule to make target `/usr/src/LFS/3.0/glibc-build/soversions.i', needed by `/usr/src/LFS/3.0/glibc-build/Versions.all'.  Stop.
make[1]: Leaving directory `/usr/src/LFS/3.0/glibc-2.2.4'
make: *** [all] Error 2
I have no name!:/usr/src/LFS/3.0/glibc-build# 


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