-
Installing GNU C Library
OK, I'm a Linux n00b, but I need to program in Ubuntu. I've installed the latest gcc, but I can't run the "configure" script in the gnu c library directory I downloaded. I think I'm adding the option that's specifying the separate build directory (".../glib-build"), but I keep on getting an error.
.../glibc-2.4$ ./configure --prefix=/home/prthealien/Desktop/glib-build
configure: error: you must configure in a separate build directory
.../glibc-2.4$ ./configure --exec-prefix=/home/prthealien/Desktop/glib-build
configure: error: you must configure in a separate build directory
Again, I'm a Linux n00b, so I don't know much about doing things from the terminal.
-
It means you actually have to be in a different directory when you run the configure command than your source code resides in.
You should have to be doing:
Code:
$ <path to directory with configure script>/configure <options>
-
1 Attachment(s)
Thanks! I did that and now I am getting this error:
configure: error: C preprocessor "/lib/cpp" fails sanity check
I've attached the config log