Quote:
Originally Posted by gaur.ankit2007@gmail.com
error: you must configure in a separate build directory
|
Just like it says you need to build glibc in a separate directory. Assuming you're starting in the glibc-2.5 directory, this is one way you might build glibc.
Code:
mkdir -v ../glibc-build &&
cd ../glibc-build &&
CFLAGS="-march=$(cut -d- -f1 <<< $MACHTYPE) \
../glibc-2.5/configure --disable-profile --enable-add-ons --enable-kernel=2.6.0 &&
make &&
make -k check >glibc-check.log 2>&1 &&
grep Error glibc-check.log
If all goes well you can make install.