November 21, 2024, 05:18:21 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: configure: error: no acceptable C compiler found in $PATH  (Read 19698 times)

Offline indigo

  • Linux Noob !
  • *
  • Posts: 16
configure: error: no acceptable C compiler found in $PATH
« 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 ?

Offline indigo

  • Linux Noob !
  • *
  • Posts: 16
Re: configure: error: no acceptable C compiler found in $PATH
« Reply #1 on: May 28, 2013, 06:22:18 PM »
Oh ..forgot to mention that my server is running CentOS 6.3 final.

Offline indigo

  • Linux Noob !
  • *
  • Posts: 16
Re: configure: error: no acceptable C compiler found in $PATH
« Reply #2 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