background image
HomeRecent PostsDrupalSearchTagsRSSContactAboutAccount
Eric.London's picture

I just went to install a package from source on my Centos linux virtual machine and got the following error:

$ ./configure
checking for gcc... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

No worries, you just need to install a C compiler. First I took a look at what's available via yum:

$ yum list | grep -i ^gcc
gcc.i386                                 4.1.2-42.el5           base           
gcc-c++.i386                             4.1.2-42.el5           base           
gcc-gfortran.i386                        4.1.2-42.el5           base           
gcc-gnat.i386                            4.1.2-42.el5           base           
gcc-java.i386                            4.1.2-42.el5           base           
gcc-objc.i386                            4.1.2-42.el5           base           
gcc-objc++.i386                          4.1.2-42.el5           base

And then install one:

sudo yum install gcc

Now, back to installing my package from source...

Syndicate content