Network Troublshooting > Linux Servers Support

configure: error: no acceptable C compiler found in $PATH

(1/1)

indigo:
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: ---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.

--- End code ---
So there is no compiler installed on my server then how everything else is installed ?

indigo:
Oh ..forgot to mention that my server is running CentOS 6.3 final.

indigo:
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: ---yum install -y gcc
--- End code ---

Navigation

[0] Message Index

Go to full version