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 18.104.22.168-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.|