configure: error: no acceptable C compiler found in $PATH
If you get the following command when trying to build a package from source on linux (Fedora 8 in my case), chances are you don’t have GCC installed:
configure: error: no acceptable C compiler found in $PATH See `config.log' for more details.
The solution is simple, run one of the following commands to install a C compiler:
CentOS: yum -y install gcc Fedora: up2date -i gcc
For me, this installed a few additional helper packages to get me started compiling C-code:
Installing: gcc x86_64 4.1.2-33 fedora 5.3 M Installing for dependencies: cpp x86_64 4.1.2-33 fedora 2.9 M glibc-devel x86_64 2.7-2 fedora 2.4 M glibc-headers x86_64 2.7-2 fedora 599 k kernel-headers x86_64 2.6.26.3-14.fc8 updates-newkey 746 k
| This entry was posted on Sunday, September 14th, 2008 at 1:42 pm and is tagged with fedora up2date, fedora 2, c compiler, glibc, fedora 5, c code, cpp, devel, yum, kernel, linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback. |

Thank you so much! This helped me!
Thanks for the info, yum -y install gcc worked in my Fedora14…
Thanks. Good thing this is on top of Google search.
Yeah! It worked for me
Great piece of info.. Thanks a ton!
It worked!
It not works!
Loading “rhnplugin” plugin
Loading “security” plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
No package gcc available.
Nothing to do
Yes, it works
wow… thanks been looking everywhere for this!! much appreciated.
yum -y install gcc
This command worked great for me on Fedora
Thanks
It works for me CentOS
Thanks Elliot!
It works for me on CentOS.
i get this error no acceptable c compiler found in $PATH
then i tried using
yum -y install gcc
its says :
cannot find valid base URL for repo: update
I’m extremely new on fedora. i tried to execute following
“up2date -i gcc”
but it shows following error
“bash: up2date: command not found”
can you help?
Thanks
`yum install up2date` ?
Good information! I'm new to linux..
I'm using yum for fedora, it works too!
is there any way to install gcc without yum or up2date? (i mean manually install it)
thanx!
Thanks , man !
This information been really handy to me .