커피닉스, 시스템 엔지니어의 쉼터
  레드햇 7.x에서 가임(gaim) 0.71 설치하기 작성일 : 2003/11/05 23:08
 
  • 글쓴이 : 닥터설 ( http://braineyes.com/ )
  • 조회수 : 8335
     
    ########################### gaim-0.71 설치 #########################

    Q. 나는 방금 Gaim을 업그레이드했다. 하지만 MSN 플러그인이 로드되지 않을 것이다. 왜 그런가?
    A. 당신은 SSL을 지원하도록 컴파일하지 않았거나 SSL 플러그인을 로드하지 못했다.
    프로토콜 버젼 9에서 MSN 프로토콜은 SSL을 사용한다.
    gaim은 GnuTLS나 Mozilla 프로젝트의 NSS와 NSPR의 조합 중 하나로
    SSL 서비스를 제공한다. 이중 하나 또는 모두를 설치하고 gaim 을 재설치하라.

    ====================================================================
    저는 아래 방법으로 설치에 성공했는데 다른 분들은 배포판 버젼이나
    rpm 유무 또는 버젼 등으로 다소 차이가 있을 수 있습니다.
    기타 문제가 발생한다면 에러 메시지를 잘 보시고
    아래와 유사하게 설치하시면 됩니다.
    ====================================================================

    1. 배포판 버젼 및 프로그램 다운로드

    RedHat 7.3

    gaim-0.71: http://gaim.sourceforge.net/downloads.php
    gnutls-0.9.93: ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/
    libgcrypt 1.1.43: ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/
    libgpg-error-0.5.tar.gz: ftp://ftp.gnupg.org/gcrypt/libgpg-error/
    glib-2.0.3.tar.gz: ftp://ftp.gtk.org/pub/gtk/v2.0/

    2. gnutls-0.9.93 설치

    2.1 의존성 문제로 gnutls 설치 실패
    # cd gnutls-0.9.93
    # ./configure --prefix=/usr

    *** Checking for external libraries...

    checking for libgcrypt-config... no
    checking for LIBGCRYPT - version >= 1.1.43... no
    configure: error:
    ***
    *** libgcrypt was not found. You may want to get it from
    *** ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/
    ***

    2.2 의존성 관련 프로그램 설치
    ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/
    libgcrypt 1.1.43 이상 버젼을 다운
    libgcrypt-1.1.43.tar.gz

    # cd libgcrypt 1.1.43
    # ./configure --prefix=/usr

    checking for gpg-error-config... no
    checking for GPG Error - version >= 0.4... no
    configure: error: libgpg-error is needed

    ftp://ftp.gnupg.org/gcrypt/libgpg-error
    libgpg-error-0.5.tar.gz

    # cd libgpg-error-0.5
    # ./configure --prefix=/usr
    # make && make check && make install

    # cd libgcrypt-1.1.43
    # ./configure --prefix=/usr
    # make && make check && make install

    2.3 의존성 해결 후 gnutls-0.9.93 설치
    # cd gnutls-0.9.93
    # ./configure --prefix=/usr
    # make

    In file included from ../../lib/gnutls_int.h:105,
                     from openpgp.c:26:
    ../../lib/gnutls_mpi.h:5:23: libtasn1.h: No such file or directory
    In file included from ../../lib/gnutls_int.h:280,
                     from openpgp.c:26:
    ../../lib/gnutls_cert.h:5:22: libtasn1.h: No such file or directory
    In file included from ../../lib/gnutls_cert.h:7,
                     from ../../lib/gnutls_int.h:280,
                     from openpgp.c:26:
    ../../lib/x509/x509.h:8: parse error before `ASN1_TYPE'
    ../../lib/x509/x509.h:8: warning: no semicolon at end of struct or union
    ../../lib/x509/x509.h:9: warning: data definition has no type or storage class
    ../../lib/x509/x509.h:12: parse error before `ASN1_TYPE'
    ../../lib/x509/x509.h:12: warning: no semicolon at end of struct or union
    ../../lib/x509/x509.h:14: parse error before `}'
    ../../lib/x509/x509.h:14: warning: data definition has no type or storage class
    ../../lib/x509/x509.h:54: parse error before `ASN1_TYPE'
    ../../lib/x509/x509.h:54: warning: no semicolon at end of struct or union
    ../../lib/x509/x509.h:55: warning: data definition has no type or storage class
    make[3]: *** [openpgp.lo] 오류 1
    make[3]: ³ª°¨`/root/gnutls-0.9.93/libextra/openpgp' 디렉토리
    make[2]: *** [all-recursive] 오류 1
    make[2]: ³ª°¨ `/root/gnutls-0.9.93/libextra' 디렉토리
    make[1]: *** [all-recursive] 오류 1
    make[1]: ³ª°¨ `/root/gnutls-0.9.93' 디렉토리
    make: *** [all] 오류 2


    # cp lib/minitasn1/libtasn1.h lib
    또는 gnutls_mpi.h, gnutls_cert.h 의 include 경로가 잘못 지정되어서
    직접 두 파일의 include 경로를 <minitasn1/libtasn1.h> 로 수정
    # ./configure --prefix=/usr
    # make && make check && make install

    3. glib 및 gaim 설치
    gtk 버젼 확인
    # rpm -qa|grep gtk2
    gtk2-devel-2.0.2-4
    gtk2-2.0.2-4

    ftp://ftp.gtk.org/pub/gtk/v2.0/
    glib-2.0.3.tar.gz 다운로드
    gtk2와 동일한 버젼인 glib-2.0.2가 없어서 2.0.3을 다운로드함.
    # cd glib-2.0.3
    # ./configure --prefix=/usr
    # make && make install

    atk, pango 등의 에러가 발생한다면
    해당 패키지 뿐만 아니라 devel이 설치되어 있지 않으므로 rpm 설치

    # make && make install

    # cd gaim-0.71
    # ./configure --prefix=/usr/local --enable-gnutls=yes <- enable-gnutls의 default값은 yes
    # make && make install

    # /usr/local/bin/gaim &


    커피닉스, 시스템 엔지니어의 쉼터 / URL : http://coffeenix.net/board_view.php?bd_code=116