안녕하세요!
레드햇 8.0을 깔았다가
PHP랑 Mysql이 연동이 안되서
RPM은 rpm -e --nodeps 옵션으로 다 지웠습니다.
글구 mysql 소스(mysql-3.23.53 : rpm아님)를 다운 받아서
./configure --prefix=/usr/local/mysql --with-charset=euc_kr
해줬더니 아래와 같이 에러가 발생합니다.
[root@IESSRV mysql-3.23.53]# ./configure --prefix=/usr/local/mysql --with-charset=euc_kr
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
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... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
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 mawk... no
checking for gawk... gawk
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH
첨엔 바이너리 화일을 받아서 헤매다가 다시 소스를 받아서 설치 하려니
이런 에러가 발생하는군요.
에고에고...힘드네요.
이게 뭐가 잘못된건지... 이전 답변글을 보니 gcc가 없으면 그렇다고 하는데
rpm으로 찾아 보니
libgcc-3.2-7
가 깔려 있다고 나오는군요.
깔렸는데도 안되면...도대체...ㅠ-ㅠ
뭐가 문제 인가요?
PS : 근데 레드햇 8.0에서 APM으로 연동이 안되게 설정되어있나요?
postgre는 연동이 되있게 셋팅이 된것 같은데 phpinfo()해서 보면
mysql은 정보가 안나오네요. 혹시나 해서 질문 합니다.
그럼, 수고하시구요 가능하다면 답변 부탁드립니다.