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. |
4 Responses to “configure: error: no acceptable C compiler found in $PATH”
Leave a Reply

Thanks , man !
This information been really handy to me .
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!
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` ?