LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trying install from source - error is "no acceptable cc found in $PATH" (https://www.linuxquestions.org/questions/linux-newbie-8/trying-install-from-source-error-is-no-acceptable-cc-found-in-%24path-511203/)

rms867 12-16-2006 06:58 PM

trying install from source - error is "no acceptable cc found in $PATH"
 
I am trying to finish an assingment for a class. Another student told me that this error means I did something wrong during my installation of Fedora, and that the professor had provided a fix for her. I haven't received a response from my professor so I have been searching the boards here.

I found threads that related to gcc possibly not being installed, so I entered through the GUI went to the System Tools and Software Updater. I found an update for gcc and installed that. Everything seemed to go okay, no errors. So I went back to the terminal and tried the ./configure command again. Same exact error. This is my first Linux installation, so I'm still learning the differences from XP. I thought maybe the server needed a reboot before it could use the compiler that just installed. No luck I'm still getting the same error.

I read thread # 45094 about installing from source, but I don't see what to do when the ./configure command doesn't work. Can somebody tell me how to find out if I really have the gcc installed correctly?

mattbrrtt 12-16-2006 07:34 PM

If you type gcc at the command line without any arguments you should get a respose such as no input files. This will tell you if you have gcc installed. Make sure that gcc is in your path.

If gcc is not in your path then you will need to provide the path to it, and you should be able to compile.

Hope this is helpful.

Matt

rms867 12-16-2006 08:13 PM

cc not in path
 
Thank you, I have it fixed.

I found some older posts, the first suggested that after updating gcc that glibc or libc might also need to be updated. glibc was in the list of software updates available so I tried that. Still no luck. I then found a post that discussed how to install software packages. When I went to add remove software I was able to find gcc listed under development tools. So I checked every gcc option available there.

Problem solved, and on to the next error message now.


All times are GMT -5. The time now is 08:57 AM.