mysql이 컴파일이 안됩니다.
아래와 같은 에러 메시지가 뜨면서...
[root@ineoz mysql-3.23.48]# ./configure --prefix=/usr/local/mysql
> --localstatedir=/home/usr/data
> --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}... 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 gawk... gawk
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++... c++
checking whether the C++ compiler (c++ ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.
[root@ineoz mysql-3.23.48]# ./configure --prefix=/usr/local/mysql --
localstatedir=/usr/local/mysql/data --with-charset=euc_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 gawk... gawk
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++... c++
checking whether the C++ compiler (c++ ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.
마음은 급한데 자꾸만 서버에서 이런 현상이 생기네요...
2.23.51 버전을 컴파일 할때는 이거랑 약간 다른 오류 메시지가 뜨길래...
2.23.47 버전을 한번 해본거거든요...
이 글 보시는 분들중에 이런 현상이 왜 일어나는지 아시는 분은...
제발 사람목숨하나 건진다고 생각해주시구... 좀 조언부탁드립니다.