Linux

[ERROR] configure: error: no acceptable C compiler found in $PATH

말랑Cow 2021. 5. 26. 11:52
반응형

특정 프로그램이나 유틸리티를 컴파일 설치하는 경우 다음과 같은 에러가 발생할 수 있습니다.

 

checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

 

위 문구 그대로 gcc 나 c 컴파일러 등이 없기 때문에 발생하는 에러이기 때문에 해당하는 애들을 설치해주면 됩니다.

 

yum install gcc glibc glibc-common gd gd-devel

설치 이후 다시 configure 를 해보면 다음과 같이 잘 진행되는 것을 확인할 수 있습니다.

 

...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
...

 

반응형