Welcome to Linux Questions.
Leaving directory '/sources/GlibB/glibc-2.5.1'
Seems wrong, where is the build directory outside glibc-2.5.1/ ? :
( The text should say : Leaving ... ... ... glibc-build' ) ! !
mkdir -v ../glibc-build
And you have an error in the glibc-2.5.1/locale/Makefile
using 'no' (Norway ?) as a command.
Suggest : Start from scratch with "§ 6.9. Glibc-2.5.1" again.