Trying to emerge the latest version fo magicpoint results in: [..] checking for png_read_image in -lpng... yes checking for mng_initialize in -lmng... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking if Xft2 is used... yes checking for iconv..... checking for iconv_open... yes checking if gif handling is enabled... yes checking for DGifOpenFileHandle in -lungif... yes FATAL: can not find gif_lib.h. pass proper CPPFLAGS to configure. `emerge info`: Portage 2.0.51_rc7 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.9-rc2 i686) ================================================================= System uname: 2.6.9-rc2 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -s -mtune=athlon-xp -mmmx -m3dnow -msse -pipe -fforce-addr -DNDEBUG -DG_DISABLE_ASSERT -DTT_CONFIG_OPTION_BY TECODE_INTERPRETER" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pr ef /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/bind /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -s -mtune=athlon-xp -mmmx -m3dnow -msse -pipe -DNDEBUG -DG_DISABLE_ASSERT -DTT_CONFIG_OPTION_BYTECODE_INTE RPRETER" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs candy ccache cvs digest distlocks sandbox sign" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http ://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gento o.oregonstate.edu/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/overlays/spyderous" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aalib acpi alsa apache2 apm avi beepmp berkdb bindist bitmap-fonts bonobo cdr cpdflib crypt cups cu rl curlwrappers dba directfb encode ethereal f77 fbcon flash flatfile foomaticdb gd gdbm gdm gif gimpprint gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile iconv imagemagick imlib ipv6 ithreads jabber java jpeg libg++ libwww mad maildir mb ox mikmod mmx mmx2 mng motif mozdevelop mozilla moznocompose moznoirc mozxmlterm mpeg mysql ncurses nls nptl nvidia oggv orbis opengl oss pam pdflib perl plotutils png postgres python quicktime readline samba scanner sdl session slang socket s softmmu spell ssl svga tcltk tcpd tetex threads tiff tlen truetype unicode wmf x86 xml xml2 xmms xosd xprint xsl xv zl ib linguas_en linguas_pl linguas_us"
usata, please fill in yourself as this package's maintainer in the metadata.xml, as you seem to be the maintainer.
What does `equery list libungif` and `equery list giflib` say? Also, does /usr/include/gif_lib.h exist? It should exist and belong to giflib because you have gif in USE flag.
equery returned: [I--] [ ] media-libs/libungif-4.1.3 (0) [I--] [ ] media-libs/giflib-4.1.0-r3 (0) I've just noticed that there's a newer version of giflib (Portage didn't want to upgrade it automatically). The compilation of magicpoint works smoothly after emerging it. I've also tried installing the older version of giflib (works OK) and then reinstalling libungif (still works OK), which leads me to the conclusion that it was some kind of screw-up on my side. I'm sorry about the fuss :)