LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   no acceptable cc found in $PATH (https://www.linuxquestions.org/questions/linux-software-2/no-acceptable-cc-found-in-%24path-24972/)

brewhaha 07-03-2002 03:24 PM

no acceptable cc found in $PATH
 
when running ./configure I get: error no acceptable cc found in $PATH

I am using redhat 7.3 and it is the first time I have ever used the ./configure command. What does redhat 7.3 use...cc?gcc?gcc3?
if I CC=gcc3 it locates the gcc but then I get this message: error: C compiler cannot create executables
how can I go about solving this problem? Thanks!!!

pickledbeans 07-03-2002 03:56 PM

Are you running configure as root? You did install the development tools correct? if you type gcc at prompt
messages do you get?

brewhaha 07-03-2002 05:27 PM

if I type gcc as the root user i get command not found. same thing with cc or gcc3. Does it matter what directory i type it in or does the cc,gcc, or gcc3 run in any directory? This is the first time i installed redhat on this system....if by any chance i didn't install the development tools how would i go about installing them? Thanks!!

pickledbeans 07-03-2002 05:55 PM

First try this:
type gcc
whereis gcc
find / -name gcc

if these return nothing then you probly forgot to install dev tools as you suggested.

As far as who to install, find the rpm tool in you start
menu and look for developement tools (don't forget to put
the CD in).


All times are GMT -5. The time now is 07:20 AM.