Jorge Almeida schreef:
> On Tue, 11 Oct 2005, Holly Bostick wrote:
> 
> 
>> Jorge Almeida schreef:
>> 
>>> I'm trying to emerge kde-meta. It fails with imlib:
>>> 
>>> checking for gif_lib.h... no configure: error: *** GIF header not
>>>  found ***
>> 
>> I don't use kde-meta, but I went to www.gentoo-portage.com to track
>>  down what package you're missing (this error clearly indicates 
>> you're missing a package, but that package is not a direct 
>> dependency of kde-meta, or it would have been installed). Here's 
>> what I found:
>> 
<snip>
>> So imlib is needed because kde-meta depends on kdegraphics-meta, 
>> which depends on kuickshow, which depends on imlib. But some gif 
>> header needed by imlib is not installed or broken:
>> 
>> (Piped to prevent quoting)
>> 
>> Runtime Dependencies imlib-1.9.15
>> 
>> |   >= media-libs/giflib - 4.1.0 |   >= media-libs/jpeg - 6b |   >=
>>  media-libs/libpng - 1.2.1 |   >= media-libs/tiff - 3.5.5 |   gtk =
>>  x11-libs/gtk+ - 1.2*
>> 
>> imlib-1.9.14-r3
>> 
>> |  >= media-libs/giflib - 4.1.0 |  >= media-libs/jpeg - 6b |  >= 
>> media-libs/libpng - 1.2.1 |  >= media-libs/tiff - 3.5.5 |  = 
>> x11-libs/gtk+ - 1.2*
>> 
>> ... aand my guess is that package would be
>> 
>> gif >= media-libs/giflib - 4.1.0
>> 
>> Is this package installed? If so, I would consider re-emerging it 
>> (and
> 
> Yes, but when I emerged it the "gif" USE flag was not set! imlib 
> compiles now.

I noticed that, too-- when I checked imlib and giflib on my own system,
I saw:

emerge -pv imlib giflib

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-libs/imlib-1.9.14-r3  574 kB
[ebuild   R   ] media-libs/giflib-4.1.3  +X +gif 556 kB

.. which looked awful weird to me for two reasons:

1) it seems a bit nuts to me that a program called 'giflib' should need
optional support for 'gif' (if you compile giflib without gif support,
what the h-e-double-hockey-sticks does it do??)

2) the 'gif' USE flag is not listed on gentoo-portage.com (although
maybe it's an error in the site, since the flag that *is* listed does
not seem to come up in Portage):

Runtime Dependencies
giflib-4.1.3-r2

    ! media-libs/libungif -
    rle media-libs/urt
    X virtual/x11

giflib-4.1.3-r1

    ! media-libs/libungif -
    X virtual/x11

giflib-4.1.3

    X virtual/x11

Although gentoo-portage.com is apparently correct, given the output of a
search for the 'rle' USE flag:

useflag rle
/usr/portage/profiles/use.local.desc:media-libs/giflib:rle - Build
converters for RLE format (utah raster toolkit)

which makes sense, I don't get why the 'rle' USE flag does not appear if
I request to emerge giflib, while an apparently useless 'gif' USE flag does.

So something definitely looks wonky here, but it's not you, and it would
seem that enabling the 'gif' USE flag hacks this mess into working
(insofar as imlib compiles for both of us with this flag set). Thus,
problem solved, but not eliminated, it would seem.

Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to