26

I am facing the following error, while installing the C compiler itself (gcc gnu).

configure: error: in `/home/gcc-5.3.0':
configure: error: no acceptable C compiler found in $PATH

Noting that I have tried the solutions listed in this question with no success.

OS: RHEL6 and CentOS

Community
  • 1
  • 1
Eng7
  • 632
  • 1
  • 8
  • 25

1 Answers1

40

You need to install a compiler to compile. The solutions in the mentioned question should work:

yum install gcc

or

yum groupinstall "Development tools"

After that, try to run your compiler to make sure everything is aligned:

gcc
xian
  • 701
  • 6
  • 6