configure: error: no acceptable C compiler found in $PATH > 기술자료 | 해피정닷컴

configure: error: no acceptable C compiler found in $PATH > 기술자료

본문 바로가기

사이트 내 전체검색

configure: error: no acceptable C compiler found in $PATH > 기술자료

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

페이지 정보


본문

[root@localhost mysql]# ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --sysconfdir=/etc --without-debug --with-charset=euckr --with-extra-charsets=all --with-plugins=innobase
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking "character sets"... default: euckr, collation: euckr_korean_ci; compiled in: euckr latin1 utf8 binary armscii8 ascii big5 cp1250 cp1251 cp1256 cp1257 cp850 cp852 cp866 cp932 dec8 eucjpms euckr gb2312 gbk geostd8 greek hebrew hp8 keybcs2 koi8r koi8u latin1 latin2 latin5 latin7 macce macroman sjis swe7 tis620 ucs2 ujis utf8
checking whether to compile national Unicode collations... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/mysql':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


[ 방법1 ]
$PATH (경로) 설정에 문제가 있어서 컴파일러가 발견되지 않았을 가능성이 있습니다.

rpm -qa | grep gcc 명령을 해서 gcc 가 나오는지도 확인

확인 예)
[root@mylinux root]# rpm -qa | grep gcc
libgcc-3.4.6-10
gcc-3.4.6-10                      --> 여기 설치되었다고 나오네요 ^^
[root@localhost mysql]#

위와 비슷한 결과가 나오면 컴파일러가 설치되어 있는 것입니다.
설치가 되어 있다면 $PATH 에 gcc가 들어 있는 디렉토리를 추가합니다.


[ 방법2 ]
[root@localhost mysql]# rpm -qa | grep gcc
libgcc-3.4.6-10
[root@localhost mysql]# yum install gcc    이용해서 설치합니다.


[ 방법3 ]
개발툴을 설치하셔야 mysql 을 컴파일설치하실수 있습니다.

yum grouplist
위 명령으로 설치가능한 항목을 확인, 하단의 내용과 관련있는 개발툴을 설치하세요.

설치방법 예는 아래와 같습니다.
yum groupinstall 'Development Tools' 'Development Libraries'


참고자료
네이버 지식인 ( opensrc )
네이버 지식인 ( opensrc )
 

댓글목록

등록된 댓글이 없습니다.


Total 2,643건 94 페이지
  • RSS
기술자료 목록
783
PHP   15274  2009-08-25 20:51  
782
일반   16124  2009-08-27 22:49  
781
PHP   15630  2009-08-25 20:50  
780
일반   12256  2009-08-25 22:04  
779
PHP   25327  2009-08-25 20:46 ~ 2020-04-08 11:35  
778
Linux   34331  2009-08-22 15:11  
777
MySQL   17711  2009-08-21 08:04  
776
PHP   46037  2009-08-21 01:29 ~ 2017-08-03 00:00  
775
Linux   26257  2009-08-20 23:02 ~ 2010-10-20 00:00  
774
Linux   16599  2009-08-20 14:58  
773
Adobe   52142  2009-08-20 14:16  
772
Linux   17417  2009-08-19 22:30 ~ 2010-10-20 00:00  
771
Linux   19253  2009-08-19 21:42  
770
MySQL   19907  2009-08-19 13:23  
769
Linux   28358  2009-08-19 08:59  
768
Linux   17263  2009-08-19 08:02 ~ 2017-03-21 00:00  
열람
MySQL   21622  2009-08-18 20:46  
766
Linux   16029  2009-08-18 18:05  
765
Linux   55567  2009-08-18 08:46  
764
ClassicASP   23523  2009-08-14 18:18  

검색

해피정닷컴 정보

회사소개 회사연혁 협력사 오시는길 서비스 이용약관 개인정보 처리방침

회사명: 해피정닷컴   대표: 정창용   전화: 070-7600-3500   팩스: 042-670-8272
주소: (34368) 대전시 대덕구 대화로 160 대전산업용재유통단지 1동 222호
개인정보보호책임자: 정창용   사업자번호: 119-05-36414
통신판매업신고: 제2024-대전대덕-0405호 [사업자등록확인]  
Copyright 2001~2025 해피정닷컴. All Rights Reserved.