configure
작성자 정보
- rich 작성
- 작성일
컨텐츠 정보
- 2,165 조회
- 0 추천
- 목록
본문
아래처럼 mysql을 소스를 받아 설치 하려니 요런 문제가 생겼습니다
./configure --prefix=/usr/local/mysql
> --with-charset=euc_kr
생략
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
아마두 cc 컴파일러가 엄는거 같아서 그런거 같은디
[root@server mysql-3.23.35]# rpm -qa | grep gcc
[root@server mysql-3.23.35]# rpm -qa | grep cc+
해보면 아무거떠 엄떠여 그래서 CD로 rpm 설치해볼려구 하는데
잘 안데여~ 앞으로 할께 태산인뎅 첨부터 걸리네여 ㅜ.ㅜ
[root@server RPMS]# ls gcc*
gcc-2.95.1-39ac.i386.rpm gcc-java-2.95.1-39ac.i386.rpm
gcc-c++-2.95.1-39ac.i386.rpm gcc-libgcj-2.95.1-39ac.i386.rpm
gcc-chill-2.95.1-39ac.i386.rpm gcc-objc-2.95.1-39ac.i386.rpm
gcc-g77-2.95.1-39ac.i386.rpm
CD에서 gcc 설치하려고 해떠니 gcc-libgcj-2.95.1-39ac.i386.rpm 이넘이
의존성에 자꾸 걸리네여..요러케여 ㅜ.ㅜ
[root@server RPMS]# rpm -Uvh gcc*
에러: 의존성 실패:
zip >= 2.1 는 gcc-libgcj-2.95.1-39ac가 필요로 합니다
어케 rpm으로 좀 쉽게 컴파일러 설치 할순엄을까여?
그래서 어제 손놓구 있다가 여기 Q/A 에서 어떤분이 강제옵션으로
설치 하신걸보구 걍 따라했죠 ㅡ.ㅡ;
[root@server RPMS]# rpm -Uvh --nodeps gcc*
gcc ##################################
gcc-c++ ##################################
gcc-chill ##################################
gcc-g77 ##################################
gcc-java ##################################
gcc-libgcj ##################################
gcc-objc ##################################
걍 배째라는 식으루 다가 .. 그러니 깔리더라구여..담에
[root@server RPMS]# rpm -Uvh binutils-2.9.5.0.19-3ac.i386.rpm 이넘도
있어야덴다 길레 깔았슴다.
그러고나서 해봐떠니 또 안데여~ ㅜ.ㅜ
[root@server mysql-3.23.35]# ./configure --prefix=/usr/local/mysql
> --with-charset=euc_kr
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... no
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) no
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot crea.
알고 계시는 분 꼭 알려주시면 감사하겠습니다. ^^
관련자료
-
이전
-
다음