질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

RedHat Linux 9.0 APM 설치 중에 mysql 컴파일 에러가

작성자 정보

  • 삽질맨 작성
  • 작성일

컨텐츠 정보

본문

[root@test mysql-4.1.10]# CFLAGS="-static -O2 march=i686 -funroll-loops" CXXFLAGS="-static -O2 -march=i686 -funroll-loops -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --disable-shared --enable-assembler --with-thread-safe-client --with-mysqld-user="mysql" --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --with-readline --without-debug --without-docs --without-bench --with-charset=euckr

 

하고 엔터를 치면,,

 

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 gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

 

위와 같은 에러 메세지가 나오네요....

 

gcc 문제인지....그렇다면 gcc 업뎃을 어케 해야하는지 고수님 답변 부탁드릴께요...

 

참고로 gcc 버전은...

 

[root@test mysql-4.1.10]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

 

PS: 삽질중이라 이렇게 긁어서 글을 지저분하게 올립니다...^ ^;;;

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,353 명
  • 현재 강좌수 :  37,013 개
  • 현재 접속자 :  498 명