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

mysql static로 설치시./configure에서 자꾸 에러나요

작성자 정보

  • 리눅스 왕초보 작성
  • 작성일

컨텐츠 정보

본문

root@leesoonkyu mysql-4.1.8]# CFLAGS="-static -02 -march=i686 -funroll-loops" CXXFLAGS="-static -02 -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
checking host system type... i686-pc-linux
checking target system type... i686-pc-linux
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.
[root@leesoonkyu mysql-4.1.8]#

gcc와 cc는 설치되어 있습니다.

[root@leesoonkyu local]# gcc
gcc: no input files
[root@leesoonkyu local]# cc
cc: no input files
[root@leesoonkyu local]#

왜 이런지 모르겠네요 php랑 연동안되서 다시 설치 하려고 하는데 ㅠ.ㅠ 왜일런지 해결방법좀 알려 주세요

관련자료

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

공지사항


뉴스광장


  • 현재 회원수 :  60,376 명
  • 현재 강좌수 :  37,051 개
  • 현재 접속자 :  391 명