RPM 4.0 설치하려는데 문제가 발생했습니다.

데비안을 쓰고 있습니다. 그런데 필요한 패키지를 찾아보면 타볼로 된것
이
없고, rpm패키지만 있는 경우가 많습니다. 그래서 RPM-4.0.tar.gz 파일을
받
아서 INSTALL 문서를 보고 설치를 하였습니다. 그런데 문제가 생겼습니다.
우선, db1 1.85버전을 설치해야 된다고 적혀있어서 설치를 하려고 했는데
PORT/linux 에서 make를 쳤습니다. 근데
In file included from ../../hash/hash.c55
../../hash/hash.h106 field `__errno_location' declared as a
function
../../hash/hash.c In function `flush_meta'
../../hash/hash.c508 parse error before `('
../../hash/hash.c In function `hash_get'
../../hash/hash.c539 parse error before `('
../../hash/hash.c In function `hash_put'
../../hash/hash.c556 parse error before `('
../../hash/hash.c560 parse error before `('
../../hash/hash.c In function `hash_delete'
../../hash/hash.c577 parse error before `('
../../hash/hash.c581 parse error before `('
../../hash/hash.c In function `hash_seq'
../../hash/hash.c732 parse error before `('
make *** [hash.o] Error 1
이와 같은 에러가 났습니다. 이건 무시하고 rpm 설치에 들어갔죠.RPM디렉
토
리에서 ./autogen.sh --noconfigure이라고 쳤습니다.
그랬더니
aclocalconfigure.in81macro 'AM_GNU_GETTEXT' not found in library
aclocalconfigure.in383macro '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
이런 에러가 나는겁니다. 어떻게 해결해야 될까요?
댓글 달기