Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: indigo on May 28, 2013, 06:18:52 PM

Title: configure: error: no acceptable C compiler found in $PATH
Post by: indigo on May 28, 2013, 06:18:52 PM
HI I am having issue with installing a program. I have a linux box which used as gateway and small webserver. Everything is running good. I today tried to install Monit first time on this server and I download tar.gz file and when I extracted and ran
./configure
It showed me following error:

Code: [Select]
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/temp/monit-5.5':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
So there is no compiler installed on my server then how everything else is installed ?
Title: Re: configure: error: no acceptable C compiler found in $PATH
Post by: indigo on May 28, 2013, 06:22:18 PM
Oh ..forgot to mention that my server is running CentOS 6.3 final.
Title: Re: configure: error: no acceptable C compiler found in $PATH
Post by: indigo on May 28, 2013, 07:45:01 PM
Nevermind, it was easy.. I just installed gcc via yum and it is working now. But I think I have one more problem I will ask in another thread.

I did following to install gcc
Code: [Select]
yum install -y gcc