답변 감사드립니다...
그런데, 그냥 ./configure 로도... 해봤거든요...
안돼서.. CXX=gcc 로 해본거구요..... -_-
만약 c++ 관련 팩키지가 설치 되어있는지 볼려면 어떤 것들을 봐야 하나요???
쩝....
그리고 c++ complier와 gcc complier는 어떻게 다른지요...
다른곳에 보니.. gcc 만 있어두... 설치가 된다구 하던데요....
많은 도움 부탁드립니다....
> 문제군요...
>
> CXX=gcc 로 잡지마시고요....
> 앞에다 아무런 옵션도 주지 마시고...
>
> 그냥 ./configure 하시기바랍니다.
>
> 보통 일반적인 레드햇 배포본에서는 알아서 다합니다..
> 괜히 손대서 부스럼 만든 격이지요...
>
> 혹시 그래도 안되시면 C++ 관련 팩키지가 설치 되었는 지 살펴 보시기 바
> 랍니다,.
> 그럼 행운을 ....
>
> > 안녕하세요...
> >
> > mysql 설치시 error가....
> >
> > 아무리 찾아봐두... -_-
> >
> > --------------------------------------------------------------------
> --
> > --------
> > [root@www mysql-3.22.27]# CC=gcc CXX=gcc ./configure --prefix=/usr/l
> oc
> > al/mysql - -localstatedir=/usr/local/muy ysql/data --with-charset=e
> uc
> > _kr
> > loading 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}... yes
> > 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) yes
> > checking for gcc... gcc
> > checking whether the C compiler (gcc ) works... yes
> > checking whether the C compiler (gcc ) is a cross-compiler... no
> > checking whether we are using GNU C... yes
> > checking whether gcc accepts -g... yes
> > checking for c++... gcc
> > checking whether the C++ compiler (gcc ) works... no
> > configure: error: installation or configuration problem: C++ compile
> r
> > cannot create executables.
> > [root@www mysql-3.22.27]#
> > --------------------------------------------------------------------
> --
> > --------
> > 이런 error가 납니다...
> >
> > gcc 버전은 2.91.66 이구요...
> >
> > 레드햇 리눅스 6.0을 쓰고 있습니다...
> >
> > rpm으로 설치하려고 하면..
> >
> > rpm으로 풀고나서 어느곳에 깔렸는지 모르겠어요....
> >
> > 좋은 답변 부탁드립니다.
|