LINUX.ORG.RU

RPM 4.1 не компилится


0

0

Суть проблемы - собираю LFS, хочу все пакеты собрать под RPM.
При компиляции RPM получаю ошибку:
make[2]: Entering directory `/home/lfs/tools_source/rpm-4.1/tools'
source='rpmgraph.c' object='rpmgraph.o' libtool=no \
depfile='.deps/rpmgraph.Po' tmpdepfile='.deps/rpmgraph.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../build -I../lib -I../rpmdb -I../rpmio -I../popt -I../libelf/lib -I../zlib -I../zlib -I../misc -g -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c `test -f 'rpmgraph.c' || echo './'`rpmgraph.c
/bin/sh ../libtool --mode=link gcc -g -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o rpmgraph rpmgraph.o ../build/librpmbuild.la ../lib/librpm.la ../rpmdb/librpmdb.la ../rpmio/librpmio.la ../popt/libpopt.la ../libelf/lib/libelf.la -lrt -lpthread -L../zlib -L/usr/local/lib -lbz2
mkdir .libs
gcc -g -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o rpmgraph rpmgraph.o ../build/.libs/librpmbuild.a ../lib/.libs/librpm.a ../rpmdb/.libs/librpmdb.a /home/lfs/tools_source/rpm-4.1/libelf/lib/.libs/libelf.a ../rpmio/.libs/librpmio.a -L/home/lfs/tools_source/rpm-4.1/zlib -L/usr/local/lib ../popt/.libs/libpopt.a ../libelf/lib/.libs/libelf.a -lrt -lpthread -lbz2
../lib/.libs/librpm.a(rpminstall.o)(.text+0x17e3): In function `rpmInstall':
/home/lfs/tools_source/rpm-4.1/lib/rpminstall.c:409: warning: the use of `mktemp' is dangerous, better use `mkstemp'
../lib/.libs/librpm.a(rpmts.o)(.text+0x752): In function `rpmtsFindPubkey':
../rpmdb/header.h:713: undefined reference to `b64decode'
../lib/.libs/librpm.a(signature.o)(.text+0x28d1): In function `verifyPGPSignature':
/home/lfs/tools_source/rpm-4.1/lib/signature.c:1209: undefined reference to `mp32nzero'
../lib/.libs/librpm.a(signature.o)(.text+0x28dd):/home/lfs/tools_source/rpm-4.1/ lib/signature.c:1209: undefined reference to `mp32nsethex'
../lib/.libs/librpm.a(signature.o)(.text+0x291f):/home/lfs/tools_source/rpm-4.1/ lib/signature.c:1220: undefined reference to `rsavrfy'
../lib/.libs/librpm.a(signature.o)(.text+0x2bbd): In function `verifyGPGSignature':
/home/lfs/tools_source/rpm-4.1/lib/signature.c:1299: undefined reference to `mp32nzero'
../lib/.libs/librpm.a(signature.o)(.text+0x2bcf):/home/lfs/tools_source/rpm-4.1/ lib/signature.c:1299: undefined reference to `mp32nsethex'
../lib/.libs/librpm.a(signature.o)(.text+0x2c7d):/home/lfs/tools_source/rpm-4.1/ lib/signature.c:1315: undefined reference to `dsavrfy'
../lib/.libs/librpm.a(formats.o)(.text+0x47e): In function `armorFormat':
/home/lfs/tools_source/rpm-4.1/lib/formats.c:177: undefined reference to `b64encode_chars_per_line'
../lib/.libs/librpm.a(formats.o)(.text+0x488):/home/lfs/tools_source/rpm-4.1/lib /formats.c:177: undefined reference to `b64encode_eolstr'
../lib/.libs/librpm.a(formats.o)(.text+0x573):/home/lfs/tools_source/rpm-4.1/lib /formats.c:197: undefined reference to `b64encode'
../lib/.libs/librpm.a(formats.o)(.text+0x5a1):/home/lfs/tools_source/rpm-4.1/lib /formats.c:200: undefined reference to `b64crc'
../lib/.libs/librpm.a(formats.o)(.text+0x678):/home/lfs/tools_source/rpm-4.1/lib /formats.c:159: undefined reference to `b64decode'
../lib/.libs/librpm.a(formats.o)(.text+0x86c): In function `base64Format':
/home/lfs/tools_source/rpm-4.1/lib/formats.c:246: undefined reference to `b64encode_chars_per_line'
../lib/.libs/librpm.a(formats.o)(.text+0x876):/home/lfs/tools_source/rpm-4.1/lib /formats.c:246: undefined reference to `b64encode_eolstr'
../lib/.libs/librpm.a(formats.o)(.text+0x8c6):/home/lfs/tools_source/rpm-4.1/lib /formats.c:257: undefined reference to `b64encode'
../rpmdb/.libs/librpmdb.a(rpmdb.o)(.text+0x4a43): In function `rpmdbRemove':
/home/lfs/tools_source/rpm-4.1/rpmdb/rpmdb.c:2727: undefined reference to `b64decode'
../rpmdb/.libs/librpmdb.a(rpmdb.o)(.text+0x5826): In function `rpmdbAdd':
/home/lfs/tools_source/rpm-4.1/rpmdb/rpmdb.c:3164: undefined reference to `b64decode'
../rpmio/.libs/librpmio.a(digest.o)(.text+0x125): In function `rpmDigestInit':
/home/lfs/tools_source/rpm-4.1/rpmio/digest.c:61: undefined reference to `md5Reset'
../rpmio/.libs/librpmio.a(digest.o)(.text+0x12c):/home/lfs/tools_source/rpm-4.1/ rpmio/digest.c:62: undefined reference to `md5Update'
../rpmio/.libs/librpmio.a(digest.o)(.text+0x133):/home/lfs/tools_source/rpm-4.1/ rpmio/digest.c:63: undefined reference to `md5Digest'
../rpmio/.libs/librpmio.a(digest.o)(.text+0x193):/home/lfs/tools_source/rpm-4.1/ rpmio/digest.c:74: undefined reference to `sha1Reset'
../rpmio/.libs/librpmio.a(digest.o)(.text+0x19a):/home/lfs/tools_source/rpm-4.1/ rpmio/digest.c:75: undefined reference to `sha1Update'
../rpmio/.libs/librpmio.a(digest.o)(.text+0x1a1):/home/lfs/tools_source/rpm-4.1/ rpmio/digest.c:76: undefined reference to `sha1Digest'
../rpmio/.libs/librpmio.a(digest.o)(.text+0x3ca): In function `rpmDigestFinal':
/home/lfs/tools_source/rpm-4.1/rpmio/digest.c:137: undefined reference to `swapu32'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x348): In function `pgpHexSet':
/home/lfs/tools_source/rpm-4.1/rpmio/rpmpgp.c:351: undefined reference to `mp32nsethex'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x3a6):/home/lfs/tools_source/rpm-4.1/ rpmio/rpmpgp.c:354: undefined reference to `mp32println'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x932): In function `pgpPrtSigParams':
/home/lfs/tools_source/rpm-4.1/rpmio/rpmpgp.c:485: undefined reference to `mp32nsethex'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x992):/home/lfs/tools_source/rpm-4.1/ rpmio/rpmpgp.c:487: undefined reference to `mp32println'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x10ff): In function `pgpPrtPubkeyParams':
/home/lfs/tools_source/rpm-4.1/rpmio/rpmpgp.c:751: undefined reference to `mp32nsethex'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x115f):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:753: undefined reference to `mp32println'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1182):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:746: undefined reference to `mp32nsethex'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1203):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:736: undefined reference to `mp32bsethex'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x127b):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:741: undefined reference to `mp32bsethex'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x132e):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:720: undefined reference to `mp32nsethex'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x138e):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:722: undefined reference to `mp32println'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x13b1):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:701: undefined reference to `mp32bsethex'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1436):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:711: undefined reference to `swapu32'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1444):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:712: undefined reference to `swapu32'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1d39): In function `pgpCleanDig':
/home/lfs/tools_source/rpm-4.1/rpmio/rpmpgp.c:1056: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1d47):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1057: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1d55):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1058: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1d63):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1060: undefined reference to `rsapkFree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1d71):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1061: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1d7f):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1062: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1d8d):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1063: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1def): In function `pgpFreeDig':
/home/lfs/tools_source/rpm-4.1/rpmio/rpmpgp.c:1091: undefined reference to `mp32bfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1dfd):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1092: undefined reference to `mp32bfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1e0b):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1093: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1e19):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1094: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1e21):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1095: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1e2f):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1096: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1e3d):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1097: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1e59):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1113: undefined reference to `mp32bfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1e67):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1114: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1e75):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1115: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1e83):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1116: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x1e8b):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1117: undefined reference to `mp32nfree'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x217c): In function `pgpReadPkts':
/home/lfs/tools_source/rpm-4.1/rpmio/rpmpgp.c:1247: undefined reference to `b64decode'
../rpmio/.libs/librpmio.a(rpmpgp.o)(.text+0x21e0):/home/lfs/tools_source/rpm-4.1 /rpmio/rpmpgp.c:1251: undefined reference to `b64decode'
collect2: ld returned 1 exit status
make[2]: *** [rpmgraph] Error 1
make[2]: Leaving directory `/home/lfs/tools_source/rpm-4.1/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lfs/tools_source/rpm-4.1'
make: *** [all] Error 2

GCC v. 3.2.3 glibc v 2.3.2
Собираю с ключами:
./configure --prefix=/tools --enable-shared=yes \
--enable-static=yes \
--without-python

make

В чем косяк, помогите, плс.
Заранее спасибо !!!

anonymous

Re: RPM 4.1 не компилится

Знаешь, я эту поебень пытался собрать примерно полгода назад. Поставил все. Ошибки были такие же (при этом у меня был редхат - просто обновил rpm криво и он у меня отвалился - хотел поэтому из исходников собрать). Скачай скомпиленный tar.gz - он там должен где-то валяться.

P.S. Вообще уже 4.2 давно - у 4.1 периодически база теряется. Только одна проблема - 4.2 в исходниках не видел.

jackill ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.