Find the answer to your Linux question:
Results 1 to 5 of 5
First off I'm a total newb and I'm trying to instal gcc 3.3 and when I configure it I get the same error over and over again: you must set ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Jun 2003
    Location
    Huntington Beach, CA
    Posts
    390

    gcc making me want to break my computer


    First off I'm a total newb and I'm trying to instal gcc 3.3 and when I configure it I get the same error over and over again:

    you must set the environment variable CC to a working compiler

    Any help would me greatly appreciated, I've been trying this for the past 4 hours and I'm about ready to kill myself...

  2. #2
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    Are you building by source? If you are building gcc, I'm pretty sure that it'll at least need cc, the c compiler. What distro are you using? Do you know if you have cc installed (try 'which cc')?
    The best things in life are free.

  3. #3
    Linux User
    Join Date
    Jun 2003
    Location
    Huntington Beach, CA
    Posts
    390
    Yeah I'm building by source, that appears to be the only way to do it. Im guessing I don't have CC installed, because that's where the error was coming up. I'm using mandrake 9.1...

  4. #4
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    Did you try 'which cc'? If you installed Mandrake, I don't know how you didn't get cc or even gcc installed at the base but I suppose you can use RPMs to do the work.
    The best things in life are free.

  5. #5
    Linux User
    Join Date
    Jun 2003
    Location
    Huntington Beach, CA
    Posts
    390
    Well I solved my little problem, thanks!

Posting Permissions

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