Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
This is the error message I get when I try to compile libgdiplus-1.1.10: /usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/../../../../powerpc-unknown-linux-gnu/bin/ld: cannot find -lungif collect2: ld returned 1 exit status make[2]: *** [libgdiplus.la] Error 1 I don't have libungif, but after reading libgdiplis's changelogs I thought giflib could replace it. # emerge -pv libungif [blocks B ] media-libs/giflib (is blocking media-libs/libungif-4.1.3) [ebuild N ] media-libs/libungif-4.1.3 +X -gif 429 kB And I also have the gif USE flag deactivated: # emerge -pv libgdiplus [ebuild U ] dev-dotnet/libgdiplus-1.1.10 [1.1.9.2] -gif +jpeg +png -tiff 0 kB Reproducible: Always Steps to Reproduce: 1. emerge -pv libgdiplus Portage 2.0.51.22-r3 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 ppc) ================================================================= System uname: 2.6.13-gentoo-r3 ppc 7447A, altivec supported Gentoo Base System version 1.6.13 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -pipe -fomit-frame-pointer" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/gentoo" LC_ALL="en_IE.UTF-8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa altivec animation apm artworkextra bitmap-fonts browserplugin cdr cups dbus dga dhcp dvd eds encode esd firefox foomaticdb gnome gpm gstreamer gtk gtk2 gtkhtml hal howl jikes jpeg mad mikmod mono mozsvg mp3 mpeg mppe-mppc network new-login nls nptl nptlonly offensive ogg oggvorbis openal opengl pic png ppc ppds print samba sdl ssl theora truetype unicode usb vorbis xml2 xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
I've tried to emerge libgdiplus-1.1.10 with the gif USE flag active and it worked. It seems to me that libdgiplus will try to install gif support wether we want it or not. This appears at the end of the configure thing, while emerging: Configuration summary * Installation prefix = /usr * Codecs supported: - TIFF: no (Get it from http://www.libtiff.org/) - JPEG: yes - GIF: yes - PNG: yes gif support is active, but I have the gif USE flag deactivated. I suppose he will then use the default gif library (libungif) and fail because I don't have it. I also suppose he only checks for the alternative, giflib, when the gif USE flag is active.
Hrm... can you please report the config.log file from the compile when things fail? it will be in /var/tmp/portage/libgdiplus-1.1.10/work/libgdiplus-1.1.10/ or somesuch. Thanks.
Scratch that, I was able to reproduce and I tracked down the source of the problem. I've just commited a fix for the 1.1.10 in portage, as well as the new 1.1.11 i just added. Marking this FIXED, please re-open if you still have the problem after getting the fixes i just added. Thanks.