>> Delete No. 39354 article
No. RPM 4.0을 설치하려는데 문제가 있습니다.

등록 2002-01-10 20:04:00 By localhost     조회 2
이름 김병기    

		데비안을 쓰고 있습니다. 그런데 필요한 패키지를 찾아보면 타볼로 된것이
없고, rpm패키지만 있는 경우가 많습니다. 그래서 RPM-4.0.tar.gz 파일을 받
아서 INSTALL 문서를 보고 설치를 하였습니다. 그런데 문제가 생겼습니다.
 우선, db1 1.85버전을 설치해야 된다고 적혀있어서 설치를 하려고 했는데
PORT/linux 에서 make를 쳤습니다. 근데
 In file included from ../../hash/hash.c:55:
../../hash/hash.h:106: field `__errno_location' declared as a function
../../hash/hash.c: In function `flush_meta':
../../hash/hash.c:508: parse error before `('
../../hash/hash.c: In function `hash_get':
../../hash/hash.c:539: parse error before `('
../../hash/hash.c: In function `hash_put':
../../hash/hash.c:556: parse error before `('
../../hash/hash.c:560: parse error before `('
../../hash/hash.c: In function `hash_delete':
../../hash/hash.c:577: parse error before `('
../../hash/hash.c:581: parse error before `('
../../hash/hash.c: In function `hash_seq':
../../hash/hash.c:732: parse error before `('
make: *** [hash.o] Error 1
 이와 같은 에러가 났습니다. 이건 무시하고 rpm 설치에 들어갔죠.RPM디렉토
리에서 ./autogen.sh --noconfigure이라고 쳤습니다.
그랬더니
 aclocal:configure.in:81:macro 'AM_GNU_GETTEXT' not found in library
aclocal:configure.in:383:macro 'AM_GNU_GETTEXT' not found in library
 이런 에러가 뜨고 실행은 되었습니다. 인스톨 문서에 라이브러리가 표준위치
에 없을 때는 수동으로 위치를 적으라고 했는데 그건 잘 몰라서 넘어갔습니
다.
 그 뒤 make를 쳤죠... 근데
 ../lib/.libs/librpm.so: undefined reference to `dcgettext__'
../lib/.libs/librpm.so: undefined reference to `db3Free'
../lib/.libs/librpm.so: undefined reference to `db3New'
collect2: ld returned 1 exit status
make[2]: *** [dump] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
 이런 에러가 나는겁니다. 어떻게 해결해야 될까요?
 --
kbg
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved