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

mysql 설치시 make 에서 에러가 발생합니다

작성자 정보

  • 정대환 작성
  • 작성일

컨텐츠 정보

본문

OS : cent 5.0

gcc version 4.1.1

mysql-5.1.12-beta

 

현재 구동중인 서버와 같게 테스트 서버를 만들려고 하는데요

mysql 설치중에 make 에서 오류가 납니다.

./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --with-charset=euckr

configure 시에는 위와같이 했는데 오류가 없었구요

삭제하고 처음 부터 다시 해봐도 계속해서 에러가 나는군요

에러 내용은 약간씩 다르긴하지만 보통 아래와 같이 납니다.

mysql-5.1.12-beta 는 현재 서버에서 사용중이거라 문제가 업을텐데 gcc 버전 때문인지.

이유를 잘 모르겠네요

gcc를 재설치 하는것이 맞나요?

아니면 포맷?

서버 셋팅을 공부하면서 하려는 거라 왠만하면 수정하면서 알고 싶습니다.

..참..

오류가 났을때 계속 make 를 하면 에러가 나다가 결국에는 make가 완료되는데요.

(이미 설치한 파일은 지나가면서 설치가 되서 그런것 같은데요)

이렇때 그냥 사용하면 안돼겠지요?

 

에러내용은 아래와 같습니다..

 

my_time.c: In function 'str_to_datetime':
my_time.c:454: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [my_time.lo] 오류 1
make[2]: Leaving directory `/usr/local/src/mysql-5.1.12-beta/libmysql'
make[1]: *** [all-recursive] 오류 1
make[1]: Leaving directory `/usr/local/src/mysql-5.1.12-beta'
make: *** [all] 오류 2

 


sql_parse.cc:6312: internal compiler error: 세그멘테이션 오류
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[4]: *** [sql_parse.o] 오류 1
make[4]: Leaving directory `/usr/local/src/mysql-5.1.12-beta/sql'
make[3]: *** [all-recursive] 오류 1
make[3]: Leaving directory `/usr/local/src/mysql-5.1.12-beta/sql'
make[2]: *** [all] 오류 2
make[2]: Leaving directory `/usr/local/src/mysql-5.1.12-beta/sql'
make[1]: *** [all-recursive] 오류 1
make[1]: Leaving directory `/usr/local/src/mysql-5.1.12-beta'
make: *** [all] 오류 2

관련자료

댓글 1

늦둥이님의 댓글

  • 늦둥이
  • 작성일
컴파일러 문제일 가능성이 많을듯 하네요.
필요한 컴파일러 버전부터해서 점검한번해보시구용
컴파일중에 에러나면 소스파일 압축 다시풀고 하는게 좋아요
make clean 을 사용해도 삐꾸나는 경우가 많더라구요

공지사항


뉴스광장


  • 현재 회원수 :  60,133 명
  • 현재 강좌수 :  36,171 개
  • 현재 접속자 :  162 명