Problem compiling libc5-5.2.18 from debian source package.
I was interested in compiling libc5 from the debian source package
(libc5-5.2.18-1.tar.gz). The release notes state that it will build a
shared version of libpthreads that is compatible/safe for use with
libc which would be very helpful in my current work.
However, I tried unpacking the source and running
"./debian.rules binary", but it failed immediately. I wanted to
determine if this was a real problem or just a failure on my part to
have things configured properly.
% ./debian.rules build
make
make[1]: Entering directory `/home/osiris/Debian/libc5-5.2.18'
set -e; for i in assert bsd cvt ctype des dirent grp inet io libbsd libio locale
login math misc mntent netgroup posix pwd regex rpc setjmp signal stdlib string
sysdeps time ufc malloc malloc-930716 yp nls gcc elf; do \
echo making lib in $i; \
make -C $i lib; \
done
making lib in assert
make[2]: Entering directory `/home/osiris/Debian/libc5-5.2.18/assert'
/usr/bin/ar ucrv ../elfstatic/libc.a ../elfstatic/libc/assert-perr.o ../elfstati
c/libc/assert.o
r - ../elfstatic/libc/assert-perr.o
/usr/bin/gcc -V 2.7.2 -b i486-linux -m486 -O -g -I../sysdeps/linux -I../libio -
I../libio/stdio -DNLS -I../nls -DYP -DNO_SHADOW -D_GNU_SOURCE -DSTDC_HEADERS -
DUSG -DDIRENT -DSYSV -DUSE_BSD_REGEX -D_LIBC -DINTERNAL_LINUX_C_LIB -Wall -Wstr
ict-prototypes -Wmissing-prototypes -funsigned-char -I../internal -nostdinc -I..
/include -I`/usr/bin/gcc -V 2.7.2 -b i486-linux -m486 -print-libgcc-file-name |
sed -e 's/libgcc.a/include/'` -D_POSIX_THREAD_SAFE_FUNCTIONS -D_POSIX_THREADS -D
_MIT_POSIX_THREADS -c assert-perr.c -o ../elfdebug/libc/assert-perr.o
gcc: 2.7.2: No such file or directory
gcc: i486-linux: No such file or directory
gcc: 2.7.2: No such file or directory
gcc: i486-linux: No such file or directory
GNU assembler version 2.6 (i486-linux), using BFD version 2.6.0.2
make[2]: *** [../elfdebug/libc/assert-perr.o] Error 1
make[2]: Leaving directory `/home/osiris/Debian/libc5-5.2.18/assert'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/home/osiris/Debian/libc5-5.2.18'
make: *** [build] Error 2
%
Thanks
--
Rob
Reply to: