Thread: Installing GNU C Library

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    3

    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.

  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    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>
    If you understand what you're doing, you're not learning anything.

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    3
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. copy_n in GNU C++ Library
    By lehe in forum C++ Programming
    Replies: 3
    Last Post: 03-19-2009, 09:27 PM
  2. GNU Scientific Library
    By aeldes1 in forum C Programming
    Replies: 4
    Last Post: 04-10-2008, 02:47 PM
  3. GNU Library Question
    By Jaken Veina in forum C++ Programming
    Replies: 1
    Last Post: 06-08-2005, 01:57 PM
  4. Adding GNU scientific library to Dev C++
    By Jreifler in forum C++ Programming
    Replies: 1
    Last Post: 03-05-2004, 02:20 PM
  5. Gnu C++ Library Header file question?
    By xddxogm3 in forum C++ Programming
    Replies: 13
    Last Post: 10-01-2003, 03:48 PM