Find the answer to your Linux question:
Results 1 to 9 of 9
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2002
    Location
    South Texas
    Posts
    8

    C Compiler? Errors? Whaaa!


    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.

    Sorry If this thread shows up everywhere but I don't know where to post this?

  2. #2
    Just Joined!
    Join Date
    Nov 2002
    Location
    Minneapolis, MN
    Posts
    3
    I had the same issue and was told - "you need to install gcc". Okay fine. Half way through downloading gcc, I asked the same guy "how can I complie gcc without a compiler like gcc installed?" He said - "go get the rpm." Aw, crap. I went and got the rpm, but it wouldn't install. I'm sure it's two completely unrelated issues, but they they are.

    I too, have no idea what I'm doing, and as such I will patiently wait with Shizznik for an answer from a GURU.

  3. #3
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    it needs to install the rpm. Why doesn't it install?
    I respectfully decline the invitation to join your delusion.

  4. #4
    Linux User
    Join Date
    Nov 2002
    Posts
    420
    You will find gcc and cc on your disks supplied with your distro.

  5. #5
    Just Joined!
    Join Date
    Jan 2003
    Posts
    22
    Quote Originally Posted by Anonymous
    You will find gcc and cc on your disks supplied with your distro.
    i even think they're immediatly installed on most distro's???

  6. #6
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    usually they are part of a development deal, like in redhat 8.0 you dont get them by default unless you check development
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  7. #7
    Just Joined!
    Join Date
    Jan 2003
    Posts
    22
    Quote Originally Posted by majorwoo
    usually they are part of a development deal, like in redhat 8.0 you dont get them by default unless you check development
    yep you're right, but i usually take custom install so just thought i was something they'd let you install directly ... hehe

  8. #8
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    yeah, i always do the custom install too as we use NIS among other goofy things...
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  9. #9
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    yeah, just mount the cd (1 or 2, just search for it) and install gcc-3.????.rpm That should install gcc, or tell you you need other stuff. Read what it says, and follow those directions. It might say something like "glibc-devel > 2.x.blah needed" or some such nonesense. If so install glibc-devel-x.x.x.x.rpm from whatever cd you can find that on. Repeat.
    I respectfully decline the invitation to join your delusion.

Posting Permissions

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