Eng7
Eng7

Reputation: 620

No acceptable C compiler found in $PATH while installing the C compiler

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

Upvotes: 26

Views: 55797

Answers (1)

xian
xian

Reputation: 701

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

Upvotes: 40

Related Questions