As you can see in the box next to this one, I'm running LFS. With LFS, you install everything from source, including glibc.
Dispite the fact that you are probebly not installing LFS, the LFS book are a great source of info if you need to install stuf like that. Here is a part of the book that might be of interest to you :
It is recommended by the Glibc installation documentation to build
Glibc outside of the source tree. Create the build directory:
mkdir ../glibc-build &&
Next, prepare Glibc to be compiled:
../glibc-2.3.1/configure --prefix=/usr --disable-profile \
Continue with compiling the package:
Begin package installation:
Build the linuxthreads man pages:
make -C ../glibc-2.3.1/linuxthreads/man
Install the man pages:
make -C ../glibc-2.3.1/linuxthreads/man install
Hope it helps.