Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2002
    South Texas

    C Compiler cannot create executables? Configure Error?

    Ok, I've run into some errors that are a little more than troublesome.

    I am very new to the Linux world (Red Hat 8.0 kernal 2.4.18-14 I think) and would like to be able to use this system but when trying to install almost anything I get numerous error messages trying to configure.

    I took this from the config.log file:

    configure:559: checking for a BSD compatible install
    configure:612: checking whether build environment is sane
    configure:669: checking whether make sets ${MAKE}
    configure:715: checking for working aclocal
    configure:728: checking for working autoconf
    configure:741: checking for working automake
    configure:754: checking for working autoheader
    configure:767: checking for working makeinfo
    configure:785: checking for gcc
    configure:815: checking for cc

    during running ./configure gives me these errors.
    It says that aclocal thru autoheader is missing
    and gcc isn't there and niether is cc.

    One site said a solution to this would be to run:
    CC="cc_name" ./configure

    but that gave me:
    configure: error: intallation or configuration problem: C compiler cannot create executables.

    So, Where do I begin. Do I need to download and install GCC or do I need to get my hands on autoconf first?

    And in Either case what do I do with them.
    Remember I don't know what the hell I'm doing. I've only just installed Red Hat 8.0 less than a week ago.

  2. #2
    Just Joined!
    Join Date
    Nov 2002
    South Texas


    Bump :o

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    Did you run a standard RH8 install? In that case, the dev. tools aren't installed by default. If you install them manually from the installation CDs, it might work. If not, just check back here again.

  4. $spacer_open
  5. #4
    install g++, did the trick for me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts