[Clfs-dev] Error in SVN-20080617-MIPS64-Pure64 Glibc-2.7 Build Script?
Karin Willers
karin at visti.de
Mon Jun 23 22:09:35 PDT 2008
Hello All,
I think, there's an error in the instructions how to build glibc-2.7:
The book says:
cp config.make.in{,.orig}
sed '/ldd-rewrite-script/s:@:${objdir}/&:' config.make.in.orig < config.make.in
to "cause Glibc to use an absolute path to the ldd-rewrite-script instead of a
relative path."
On my build machine, this leads to the following error:
LC_ALL=C sed -e 's%@RTLD@%/tools/lib/ld.so.1%g' -e 's%@VERSION@%2.7%g' -e 's%@BA
SH@%/bin/bash%g' -e 's%@TEXTDOMAINDIR@%/tools/share/locale%g' < ldd.bash.in | LC
_ALL=C sed -f ../glibc-2.7/ports/sysdeps/unix/sysv/linux/mips/mips64/ldd-rewrite
.sed > /mips64/glibc-2.7_build/elf/ldd.new
sed: couldn't open file ../glibc-2.7/ports/sysdeps/unix/sysv/linux/mips/mips64/l
dd-rewrite.sed: No such file or directory
make[2]: *** [/mips64/glibc-2.7_build/elf/ldd] Error 4
make[2]: Leaving directory `/mips64/glibc-2.7/elf'
make[1]: *** [elf/others] Error 2
make[1]: Leaving directory `/mips64/glibc-2.7'
make: *** [all] Error 2
mips64 at green:/mips64/glibc-2.7_build>
Changing the sed command to:
sed '/ldd-rewrite-script/s:@:${objdir}/&:' config.make.in.orig > config.make.in
fixed the problem (config.make.in is NOT changed by the original command).
Please could someone check my observation?
Greetings, Karin
More information about the Clfs-dev
mailing list