Installing GNU C Library

This is a discussion on Installing GNU C Library within the Linux Programming forums, part of the Platform Specific Boards category; OK, I'm a Linux n00b, but I need to program in Ubuntu. I've installed the latest gcc, but I can't ...

  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,164
    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
    Attached Files Attached Files

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, 01: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21