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,633건 1 페이지
  • RSS
기술자료 목록
2633
MySQL   324  2024-03-29 14:14 ~ 2024-03-29 14:14  
2632
그누보드   639  2024-02-23 18:40 ~ 2024-02-24 06:13  
2631
JavaScript   730  2024-02-16 18:50 ~ 2024-02-16 20:37  
2630
Java   661  2024-02-06 16:49  
2629
PHP   749  2024-02-06 16:42  
2628
호스팅   697  2024-01-29 12:54  
2627
PHP   824  2024-01-26 11:04 ~ 2024-01-26 11:13  
2626
MySQL   1045  2024-01-08 17:37 ~ 2024-03-14 16:00  
2625
SQL   1028  2024-01-08 12:36  
2624
영카트   1192  2024-01-04 14:57  
2623
일반   2072  2023-12-15 18:33  
2622
Android   1650  2023-11-30 18:48 ~ 2023-11-30 19:41  
2621
전자결제   2988  2023-11-23 19:53  
2620
PHP   2204  2023-11-20 10:56 ~ 2023-11-20 11:14  
2619
Linux   1939  2023-11-09 19:55  
2618
그누보드   1909  2023-11-06 20:38  
2617
Linux   1879  2023-11-01 21:41 ~ 2023-11-02 10:30  
2616
영카트   1941  2023-10-07 23:31  
2615
SNS   2916  2023-09-24 17:56  
2614
ClassicASP   2642  2023-09-14 08:38  

검색

해피정닷컴 정보

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

회사명: 해피정닷컴   대표: 정창용   전화: 070-7600-3500   팩스: 042-670-8272
주소: 서울센터 (08393) 서울시 구로구 디지털로32가길 16 파트너스타워2차 1206-280호
        대전센터 (34368) 대전시 대덕구 대화로 160 대전산업용재유통단지 지원1동 205호
개인정보보호책임자: 정창용   사업자번호: 119-05-36414
통신판매업신고: 2014-서울구로-0074 [사업자등록확인]  
Copyright 2001~2024 해피정닷컴. All Rights Reserved.