I was compiling Glibc
I did
# cd /usr/src/glibc-2.7
# ./configure --prefix=/usr/local/
It said I must provide a separate build directory. So I did 'cd..' then
# /usr/src/glibc-2.7/configure --prefix=/usr/local/
And it worked, then it gave me an error saying I shouldn't build to /usr/local/ or it can make my system unstable and I can bypass with --disable-sanity-checks
So I made a folder /usr/src/glibc-2.7-build/ and did
# usr/src/glibc-2.7/configure --prefix=/usr/src/glibc-2.7-build/
And it compiled fine.
Then I did 'make' from the glibc-2.7 directory, and I tried '/usr/src/glibc-2.7/make --prefix=/usr/src/glibc-2.7-build/' and any possible variation including running it from the glibc-2.7-build directory which is empty and it always gave the error:
Code:
Makeconfig:84: sysdeps/../config.make: No such file or directory
The GNU C library has not been configured.
Run `configure' to configure it before building.
Try `configure --help' for more details.
make: Failed to remake makefile `sysdeps/../config.make'.
My questions are:
1) Why won't it compile without me leaving the directory as in my first example?
2) How do I run 'make' after configuring to a prefix
Thanks for help