Hi,
While installing perl5.14 on my Linux box its failing with c compiler issue.
below is the error message.
PHP Code:
Use which C compiler? [cc]
./trygcc: line 10: cc: command not found
Uh-oh, the C compiler 'cc' doesn't seem to be working.
./trygcc: line 25: gcc: command not found
./checkcc: line 10: cc: command not found
Uh-oh, the C compiler 'cc' doesn't seem to be working.
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
later I downloaded the gcc-6.3.0 and tried to install I have got the below error.
PHP Code:
[root@esx-mind-1 gcc-6.3.0]# ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for libatomic support... yes
checking for libcilkrts support... yes
checking for libitm support... yes
checking for libsanitizer support... yes
checking for libvtv support... yes
checking for libmpx support... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/tmp/gcc-6.3.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@esx-mind-1 gcc-6.3.0]#
Please help me resolve this issue.
Thanks,
Muzaffar