glibc-2.3.2, make install error

Dean Hall dean-lists at deanpence.com
Wed Apr 28 18:45:14 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm using LFS 5.0, and I'm in chapter 6 in the section entitled, "Installing
Glibc-2.3.2", and during `make install`, I get this error, and make fails:

- ------------------------------------------------------
[...]
gcc -nostdlib -nostartfiles -o /sources/glibc-build/timezone/zic 
- -Wl,-dynamic-linker=/lib/ld-linux.so.2  
- -Wl,-z,combreloc /sources/glibc-build/csu/crt1.o /sources/glibc-build/csu/crti.o
`gcc
- --print-file-name=crtbegin.o` /sources/glibc-build/timezone/zic.o /sources/glibc-build/timezone/scheck.o /sources/glibc-build/timezone/ialloc.o 
- -Wl,-rpath-link=/sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/linuxthreads /sources/glibc-build/libc.so.6 /sources/glibc-build/libc_nonshared.a
- -lgcc `gcc --print-file-name=crtend.o` /sources/glibc-build/csu/crtn.o
/sources/glibc-build/elf/ld-linux.so.2
- --library-path /sources/glibc-build:/sources/glibc-build/math:/sources/glibc-build/elf:/sources/glibc-build/dlfcn:/sources/glibc-build/nss:/sources/glibc-build/nis:/sources/glibc-build/rt:/sources/glibc-build/resolv:/sources/glibc-build/crypt:/sources/glibc-build/linuxthreads /sources/glibc-build/timezone/zic
- -d /usr/share/zoneinfo -L /dev/null -y ./yearistype africa
"/dev/null", line 1: input line of unknown type
"/dev/null", line 2: input line of unknown type
"/dev/null", line 3: input line of unknown type
"/dev/null", line 4: input line of unknown type
"/dev/null", line 5: input line of unknown type
"/dev/null", line 6: input line of unknown type
"/dev/null", line 7: input line of unknown type
"/dev/null", line 8: input line of unknown type
"/dev/null", line 9: input line of unknown type
"/dev/null", line 10: input line of unknown type
"/dev/null", line 11: input line of unknown type
"/dev/null", line 12: input line of unknown type
"/dev/null", line 13: input line of unknown type
"/dev/null", line 14: input line of unknown type
"/dev/null", line 15: input line of unknown type
"/dev/null", line 16: input line of unknown type
"/dev/null", line 17: input line of unknown type
"/dev/null", line 18: input line of unknown type
"/dev/null", line 19: input line of unknown type
"/dev/null", line 20: input line of unknown type
"/dev/null", line 21: input line of unknown type
"/dev/null", line 22: input line of unknown type
"/dev/null", line 23: input line of unknown type
"/dev/null", line 24: input line of unknown type
"/dev/null", line 25: input line of unknown type
"/dev/null", line 26: input line of unknown type
"/dev/null", line 27: input line of unknown type
"/dev/null", line 28: input line of unknown type
"/dev/null", line 29: input line of unknown type
"/dev/null", line 30: input line of unknown type
"/dev/null", line 31: input line of unknown type
"/dev/null", line 32: input line of unknown type
"/dev/null", line 33: input line of unknown type
"/dev/null", line 34: input line of unknown type
"/dev/null", line 35: input line of unknown type
"/dev/null", line 36: input line of unknown type
"/dev/null", line 37: input line of unknown type
"/dev/null", line 38: input line of unknown type
"/dev/null", line 39: input line of unknown type
"/dev/null", line 40: input line of unknown type
"/dev/null", line 41: input line of unknown type
"/dev/null", line 42: input line of unknown type
"/dev/null", line 43: input line of unknown type
"/dev/null", line 44: input line of unknown type
"/dev/null", line 45: input line of unknown type
"/dev/null", line 46: input line of unknown type
"/dev/null", line 47: input line of unknown type
"/dev/null", line 48: input line of unknown type
"/dev/null", line 49: input line of unknown type
"/dev/null", line 50: input line of unknown type
"/dev/null", line 51: input line of unknown type
"/dev/null", line 52: input line of unknown type
"/dev/null", line 53: input line of unknown type
"/dev/null", line 54: input line of unknown type
"/dev/null", line 55: input line of unknown type
"/dev/null", line 56: input line of unknown type
"/dev/null", line 57: input line of unknown type
"/dev/null", line 58: input line of unknown type
"/dev/null", line 59: input line of unknown type
"/dev/null", line 60: input line of unknown type
"/dev/null", line 61: input line of unknown type
"/dev/null", line 62: input line of unknown type
"/dev/null", line 63: input line of unknown type
"/dev/null", line 64: input line of unknown type
"/dev/null", line 65: input line of unknown type
"/dev/null", line 66: input line of unknown type
"/dev/null", line 67: input line of unknown type
"/dev/null", line 68: input line of unknown type
"/dev/null", line 69: input line of unknown type
"/dev/null", line 70: input line of unknown type
"/dev/null", line 71: input line of unknown type
"/dev/null", line 72: input line of unknown type
"/dev/null", line 73: input line of unknown type
"/dev/null", line 74: input line of unknown type
"/dev/null", line 75: input line of unknown type
"/dev/null", line 76: input line of unknown type
make[2]: *** [/usr/share/zoneinfo/Africa/Algiers] Error 1
make[2]: Leaving directory `/sources/glibc-2.3.2/timezone'
make[1]: *** [timezone/subdir_install] Error 2
make[1]: Leaving directory `/sources/glibc-2.3.2'
make: *** [install] Error 2
- ------------------------------------------------------

I'm on a Debian 3.0 system running a 2.4 kernel with gcc version 2.95.4
(although the gcc version shouldn't matter in the chroot'ed environment).

I'm using a script for this section; here it is if anyone finds it relevant.
I intended to do everything strictly by the book, so if there's anything
different from this script and the instructions, it isn't intended:

- ------------------------------------------------------
#!/bin/sh -e

notice() {
        echo
        echo '##################################'
        echo "# $1"
        echo '##################################'
        echo
}

package='glibc'
subpackage='glibc-linuxthreads'
version='2.3.2'

srcDir="${package}-${version}"
bundle="${package}-${version}.tar.bz2"
subbundle="${subpackage}-${version}.tar.bz2"

patch="${package}-${version}-sscanf-1.patch"

buildDir="${package}-build"

unset CFLAGS
unset CXXFLAGS

touch /etc/ld.so.conf

if test -d "$srcDir" ; then
        rm -fr "$srcDir"
fi

tar -xjf "$bundle"
cd "$srcDir"
tar -xjf "../$subbundle"
patch -Np1 -i "../$patch"

cd ..
if test -d "$buildDir" ; then
        rm -fr "$buildDir"
fi
mkdir "$buildDir"
cd "$buildDir"

time {
        notice 'configure'
        "../$srcDir/configure" \
                --prefix=/usr \
                --disable-profile \
                --enable-add-ons \
                --libexecdir=/usr/bin \
                --with-headers=/usr/include
        notice 'make'
        make
        notice 'make check'
        make check > /glibc-tests 1>&2 || true
        notice 'make install'
        make install
        notice 'make localedata/install-locales'
        make localedata/install-locales
        notice 'make ... man'
        make -C "../$srcDir/$subpackage/man"
        notice 'make ... man install'
        make -C "../$srcDir/$subpackage/man install";
}

if test ! -f /etc/nsswitch.conf ; then
cat > /etc/nsswitch.conf << "EOF"
# Begin /etc/nsswitch.conf

passwd: files
group: files
shadow: files

publickey: files

hosts: files dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: db files

# End /etc/nsswitch.conf
EOF
fi

#tzselect
cp --remove-destination /usr/share/zoneinfo/US/Central /etc/localtime

cat > /etc/ld.so.conf << "EOF"
# Begin /etc/ld.so.conf

/usr/local/lib
/opt/lib

# End /etc/ld.so.conf
EOF
- ------------------------------------------------------

Any ideas?


Regards,
Dean
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAkF4uBnn70KGO4CURAkiDAJ4oLCmalOTUvB3ps7EamkJlMrwZGgCeITlb
77l4B6KgCqIPpubGDjMdzFM=
=EC1S
-----END PGP SIGNATURE-----



More information about the lfs-support mailing list