1 |
Jorge Almeida schreef: |
2 |
> On Tue, 11 Oct 2005, Holly Bostick wrote: |
3 |
> |
4 |
> |
5 |
>> Jorge Almeida schreef: |
6 |
>> |
7 |
>>> I'm trying to emerge kde-meta. It fails with imlib: |
8 |
>>> |
9 |
>>> checking for gif_lib.h... no configure: error: *** GIF header not |
10 |
>>> found *** |
11 |
>> |
12 |
>> I don't use kde-meta, but I went to www.gentoo-portage.com to track |
13 |
>> down what package you're missing (this error clearly indicates |
14 |
>> you're missing a package, but that package is not a direct |
15 |
>> dependency of kde-meta, or it would have been installed). Here's |
16 |
>> what I found: |
17 |
>> |
18 |
<snip> |
19 |
>> So imlib is needed because kde-meta depends on kdegraphics-meta, |
20 |
>> which depends on kuickshow, which depends on imlib. But some gif |
21 |
>> header needed by imlib is not installed or broken: |
22 |
>> |
23 |
>> (Piped to prevent quoting) |
24 |
>> |
25 |
>> Runtime Dependencies imlib-1.9.15 |
26 |
>> |
27 |
>> | >= media-libs/giflib - 4.1.0 | >= media-libs/jpeg - 6b | >= |
28 |
>> media-libs/libpng - 1.2.1 | >= media-libs/tiff - 3.5.5 | gtk = |
29 |
>> x11-libs/gtk+ - 1.2* |
30 |
>> |
31 |
>> imlib-1.9.14-r3 |
32 |
>> |
33 |
>> | >= media-libs/giflib - 4.1.0 | >= media-libs/jpeg - 6b | >= |
34 |
>> media-libs/libpng - 1.2.1 | >= media-libs/tiff - 3.5.5 | = |
35 |
>> x11-libs/gtk+ - 1.2* |
36 |
>> |
37 |
>> ... aand my guess is that package would be |
38 |
>> |
39 |
>> gif >= media-libs/giflib - 4.1.0 |
40 |
>> |
41 |
>> Is this package installed? If so, I would consider re-emerging it |
42 |
>> (and |
43 |
> |
44 |
> Yes, but when I emerged it the "gif" USE flag was not set! imlib |
45 |
> compiles now. |
46 |
|
47 |
I noticed that, too-- when I checked imlib and giflib on my own system, |
48 |
I saw: |
49 |
|
50 |
emerge -pv imlib giflib |
51 |
|
52 |
These are the packages that I would merge, in order: |
53 |
|
54 |
Calculating dependencies ...done! |
55 |
[ebuild R ] media-libs/imlib-1.9.14-r3 574 kB |
56 |
[ebuild R ] media-libs/giflib-4.1.3 +X +gif 556 kB |
57 |
|
58 |
.. which looked awful weird to me for two reasons: |
59 |
|
60 |
1) it seems a bit nuts to me that a program called 'giflib' should need |
61 |
optional support for 'gif' (if you compile giflib without gif support, |
62 |
what the h-e-double-hockey-sticks does it do??) |
63 |
|
64 |
2) the 'gif' USE flag is not listed on gentoo-portage.com (although |
65 |
maybe it's an error in the site, since the flag that *is* listed does |
66 |
not seem to come up in Portage): |
67 |
|
68 |
Runtime Dependencies |
69 |
giflib-4.1.3-r2 |
70 |
|
71 |
! media-libs/libungif - |
72 |
rle media-libs/urt |
73 |
X virtual/x11 |
74 |
|
75 |
giflib-4.1.3-r1 |
76 |
|
77 |
! media-libs/libungif - |
78 |
X virtual/x11 |
79 |
|
80 |
giflib-4.1.3 |
81 |
|
82 |
X virtual/x11 |
83 |
|
84 |
Although gentoo-portage.com is apparently correct, given the output of a |
85 |
search for the 'rle' USE flag: |
86 |
|
87 |
useflag rle |
88 |
/usr/portage/profiles/use.local.desc:media-libs/giflib:rle - Build |
89 |
converters for RLE format (utah raster toolkit) |
90 |
|
91 |
which makes sense, I don't get why the 'rle' USE flag does not appear if |
92 |
I request to emerge giflib, while an apparently useless 'gif' USE flag does. |
93 |
|
94 |
So something definitely looks wonky here, but it's not you, and it would |
95 |
seem that enabling the 'gif' USE flag hacks this mess into working |
96 |
(insofar as imlib compiles for both of us with this flag set). Thus, |
97 |
problem solved, but not eliminated, it would seem. |
98 |
|
99 |
Holly |
100 |
-- |
101 |
gentoo-user@g.o mailing list |