Find the answer to your Linux question:
Results 1 to 8 of 8
What does this mean? You must set the environment variable CC to a working compiler and how do I do this...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    10

    Environment???

    What does this mean?
    You must set the environment variable CC to a working compiler
    and how do I do this

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    It means it can't figure out where you installed your compiler.

    Code:
    export CC=/path/to/compiler
    You usually don't need to do this. Have you installed a compiler? What distro are you using? What are you trying to compile?

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    10
    I was originally trying to install a DPIO2 driver but had problems with that. It was suggested that I might need a compiler program, so I was going to use gcc. I have RH4 (which I believe has this already installed) but I was trying to load the prerequisites for gcc but every time I tryed to ./configure a program I get either this error or C compiler cannot create executable or Can't find C compiler. Every program I try I get this.

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Most likely you don't have the gcc compiler installed, you will have to install that package with up2date.

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    10
    checked up2date package list no gcc update their. I was thinking of just wiping the hard drive and start over again from the beginning. Maybe I did something wrong . First time using Linux.


    As for programs and software. Is there a list of software you should have download or load on the PC?

  6. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    The basic packages you probably want are gcc gcc-c++ automake autoconf libtool yasm

    Different programs have different requirements to build, so there are likely other packages you need to compile any particular piece of software. I'm not familiar with DPIO2.

    up2date command to update Redhat enterprise Linux (RHEL) howto

    I don't use Red Hat or Fedora, but I believe you need to be a member of the compiler group.

    Is there a particular reason you're using RHEL4? It's not geared towards new users or general desktop use.

    Is there a list of software you should have download or load on the PC?
    Not sure what you're asking. You mean for compiling or in general?

  7. #7
    Just Joined!
    Join Date
    Aug 2009
    Posts
    10
    The reason we are using RH4 is because the driver that is one of our products the vendor stated that we needed RH4 in order to install VMETRO DPIO2 driver software.


    Software question: In general, is what I mean thanks!

  8. #8
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Software question: In general, is what I mean thanks!
    There's no easy answer to that. Depends on what you need to do or how you use your computer.

    Regarding the compiling, does the source code of the driver come with any sort of README file indicating how to build it? Have you now installed all the necessary development tools and added yourself to the compiler group? Are you still getting the same error message?

Posting Permissions

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