[질문-완료]vmware로 red hat 7.3깔고 mysql5.5.22 설치 중 make에서 계속 에러가 나네요.

nakis25의 이미지

제가 지금 까지 삽질한 것이..

1.mysql5.1.22-rc.tar.gz 소스로 설치 시작..

2.tar xzvf my mysql-5.1.22

3.mv 해서 파일 풀은거 /usr/local로 옮기고

4.ln -s /usr/local/mysql-5.0.45 /usr/local/mysql

5.groupadd -r mysql

6.useradd -g mysql 하고

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

8.make ....

make에서 계속 에러가 납니다. 에러 내용은

field.cc:1165: Internal compiler error in do_jump, at expr.c:9744
Please submit a full bug report.
See for instructions.
make[3]: *** [field.o] Error 1
make[3]: Leaving directory `/usr/local/mysql-5.1.22-rc/sql'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/mysql-5.1.22-rc/sql'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/local/mysql-5.1.22-rc/sql'
make: *** [install-recursive] Error 1

전체 내용은 아니고 make 다 되갈때 나오는 메세지에요.. 이거 뒤로는 계속 에러 나네요

어찌 설치하면 될까요? red hat 버젼은 지금 사정상 바꿀 수 없구요..mysql 버젼은 다른거 깔아도 됩니다.

해법 좀 가르쳐 주세요.

Hyun의 이미지

Quote:
field.cc:1165: Internal compiler error in do_jump, at expr.c:9744
Please submit a full bug report.
See for instructions.

메모리가 30메가쯤 되는 시스템에서 gcc가 크기가 소스파일을 컴파일 하던 도중 저런 에러가 나던걸 본 적 있습니다.
expr.c파일이 yacc에서 만들어진 파일 같은데, 저것도 아마 파일 크기가 상당할 듯 합니다. 컴파일 하기 전에 스왑을 몇백메가쯤 설정해 주고 다시 해보세요.

예전 기억에 mysql의 configure 를 할 때 no memory인가... 메모리가 적은 시스템을 설정하는 옵션이 있었던거 같은데, 그 옵션을 추가해주는것도 좋을 듯 합니다.

nakis25의 이미지

제가 리눅스 한지 이틀 밖에 안되서..스왑 설정이나 configure설정 좀 자세히 부탁드려요

Hyun의 이미지

# ./configure --help

를 해보면 다음과 같은 부분이 있을껍니다.
  --with-low-memory       Try to use less memory to compile to avoid
                          memory limitations.

configure를 실행할 때 위 옵션을 넣고 해보세요...

그리고 스왑을 추가하는 방법은...
스왑을 위해 블럭디바이스가 /dev/hda3 라고 할 때

# mkswap /dev/hda3
# swapon /dev/hda3

하시면 됩니다.

만약 하드디스크에 여유파티션이 없다면, 파일을 스왑으로 잡아도 됐던거 같네요.

# dd if=/dev/zero of=swapfile bs=1024 count=204800
# mkswap swapfile
# swapon swapfile

위 처럼 하시면 "swapfile"이라는 파일을 스왑으로 잡을껍니다. 용량은 200메가쯤 하구요. 용량 바꾸시려면 dd명령에 크기 바꿔주시면 됩니다.

흠... 위에 명령어 모두 확인없이 올린거니깐 --help 해보고 확인해보고 실행하세요...

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.