Date: Wed, 18 Jun 2003 23:20:30 +0200 From: "tysken-slask.post" <tysken-slask@post.utfors.se> To: freebsd-ports-bugs@freebsd.org Cc: thrawn@tysken.un1x.la Subject: Can't Install rpm on this machine but I can do it on other machines. Message-ID: <0HGP00KV84Z43F@snifit.smb.utfors.se>
next in thread | raw e-mail | index | archive | help
Hi, Im trying to install /usr/ports/archivers/rpm via portinstall. Here are some info about the system: uname -a: FreeBSD thrawn.birch.se 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Jun 12 13:06:18 CEST 2003 thrawn@thrawn.birch.se:/usr/src/sys/compile/THRAWN i386 This machine is an XP 1600 AMD machine and I have two other boxses running 4.8-STABLE, but they are not AMD and they are one P2-350 MHz and one dual Celeron 400 MHz box(es). They have no problem with installing rpm via ports. But when I try to install rpm on my XP 1600 I get this error message after a while when I have compiled it for a minute or so: cc -O -pipe -march=k6 -D_GNU_SOURCE -Wall -Wpointer-arith -Wstrict-prototypes -W missing-prototypes -Wno-char-subscripts -static -L./build -L./lib -o rpm2cpio rp m2cpio.o ./build/.libs/librpmbuild.a ./lib/.libs/librpm.a -lpopt ./misc/libmisc. a -L/usr/local/lib -lintl -liconv -L/usr/local/lib -lz -lbz2 ./lib/.libs/librpm.a(signature.o): In function `verifyPGPSignature': signature.o(.text+0xf29): warning: tempnam() possibly used unsafely; consider us ing mkstemp() /usr/local/lib/libintl.a(dcigettext.o): In function `_nl_find_msg': dcigettext.o(.text+0xb1b): undefined reference to `iconv' /usr/local/lib/libintl.a(loadmsgcat.o): In function `_nl_init_domain_conv': loadmsgcat.o(.text+0x6d5): undefined reference to `iconv_open' /usr/local/lib/libintl.a(loadmsgcat.o): In function `_nl_free_domain_conv': loadmsgcat.o(.text+0x71d): undefined reference to `iconv_close' gmake[2]: *** [rpm2cpio] Error 1 gmake[2]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/archivers/rpm. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall32839.0 mak e ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! archivers/rpm (linker error) thrawn/usr/home/thrawn# I have not played with any other optimsation than CPUTYPE=k6 in /etc/make.conf and I have tryed to it with none and CPUTYPE=i686 as well but it still do not help. CPUTYPE=i686 works well on the other two boxes so I guess that it has nothing to do with it. I hope this enough info, but I think so. Every other port via portinstall works just fine. Thanks in advance. Mvh Mattias Björk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0HGP00KV84Z43F>