LINUX

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

지니 2017. 3. 21. 16:48
반응형


http://junemoon.tistory.com/30



GCC 컴파일러가 없어서 나는 오류인거같다!



없을때,


[root@cobuy-0938 apr-1.5.1]# rpm -qa|grep gcc

libgcc-4.8.5-11.el7.x86_64



있을때, 


[root@cobuy-0884 ~]# find / -name apachectl

/root/src/httpd-2.2.24/support/apachectl

/home/apache/bin/apachectl

[root@cobuy-0884 ~]# rpm -qa|grep gcc

gcc-c++-4.4.7-17.el6.x86_64

gcc-4.4.7-17.el6.x86_64

libgcc-4.4.7-17.el6.x86_64



yum -y install gcc


설치후,


[root@cobuy-0938 apr-1.5.1]# rpm -qa|grep gcc

gcc-4.8.5-11.el7.x86_64

libgcc-4.8.5-11.el7.x86_64



이 후, 원래 하고자했던 명령어를 치니까 좌르르르르~ 설치가 되었다.


+))


configure: error: You need a C++ compiler for C++ support.

#c++ 컴파일러 설치

yum -y install gcc-c++


# C,C++ 컴파일로 동시설치

yum -y install gcc gcc-c++




반응형