Find the answer to your Linux question:
Results 1 to 6 of 6
howdy all, I have a Red Hat 9 box that's primarily used for Linux learning purposes. Right now I'm trying to update a bunch of the modules, and while I'm ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    5

    help - installing gcc 3.4.3 on RedHat 9


    howdy all,

    I have a Red Hat 9 box that's primarily used for Linux learning purposes. Right now I'm trying to update a bunch of the modules, and while I'm a decent Linux user, I'm a newbie to a lot of it's configuration.

    I have a list of modules I'm trying to bring up to date. The machine doesn't have GCC installed. I have gcc-3.4.3 downloaded and uncompressed. When I try to do a "./configure" I get an error message telling me I have to "set the environment variable CC to a working compiler"...

    And until I get GCC on there, I assume I HAVE no working compiler...

    Lil help?



    Gersen

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    You can't compile a compiler if you don't have a compiler already
    You'll want to grab an rpm from rpm.pbone.net or use "yum"

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Posts
    5
    thanks! I will get an rpm.

    yum doesn't seem to be available on this box.

  4. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    While you're there, you'll need to grab binutils and glibc

  5. #5
    Just Joined!
    Join Date
    Apr 2005
    Posts
    5
    did that, but am still having issues:
    http://www.linuxquestions.org/questi...hreadid=314214

  6. #6
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Okay, two things:
    1)what's the exact output of
    Code:
    rpm -i gcc-x.x.x.rpm
    2)did you grab a .src.rpm accidentally?

Posting Permissions

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