Gentoo Archives: gentoo-user

From: Jakob Buchgraber <jakob.buchgraber@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] help with emerge package recompile
Date: Fri, 02 Feb 2007 20:59:27
Message-Id: 45C3A37F.1030706@gmail.com
In Reply to: Re: [gentoo-user] help with emerge package recompile by Fei Liu
1 Fei Liu wrote:
2 > Jakob Buchgraber wrote:
3 >> Fei Liu wrote:
4 >>> Hello, I was going to install 'webalizer' (apache monitoring
5 >>> software) by 'emerge -kv webalizer', I got the following error:
6 >>>
7 >>> !!! ERROR: app-admin/webalizer-2.01.10-r12 failed.
8 >>> Call stack:
9 >>> ebuild.sh, line 1555: Called dyn_setup
10 >>> ebuild.sh, line 668: Called pkg_setup
11 >>> webalizer-2.01.10-r12.ebuild, line 45: Called die
12 >>>
13 >>> !!! recompile gd with USE="png"
14 >>> !!! If you need support, post the topmost build error, and the call
15 >>> stack if relevant.
16 >>>
17 >>> I tried to do 'USE="png" emerge -update gd', and I got a scary list
18 >>> of package ebuilds:
19 >>> [ebuild N ] media-libs/gd-2.0.33 USE="png*"
20 >>> [ebuild N ] media-libs/freetype-2.1.10-r2
21 >>> [ebuild N ] media-libs/libpng-1.2.12
22 >>> [ebuild N ] sys-devel/libtool-1.5.22
23 >>> ....skipped
24 >>>
25 >>> What should I do in this case? How exactly should I update my 'gd'
26 >>> package? Sorry, I am still new to the emerge system.
27 >>>
28 >>> Thanks,
29 >>> Fei
30 >> You should add "png" to /etc/make.conf or /etc/portage/package.use
31 >> and then reemerge gd lib (emerge --newuse gd).
32 >>
33 >> Cheers,
34 >> Jay
35 > Hi Jay, thank you, please see my other thread, I used 'USE="png"
36 > emerge -kv gd' to fix this problem. But it's good to learn the
37 > --newuse flag. Do you know what I should do to remove all the cached
38 > source code packages?
39 >
40 > Fei
41 Hey!
42
43 See my e-mail or "Boyed Stephen Smith Jr.'s mail". Don't use
44 USE="blabla" emerge package or ACCEPT_KEYWORDS="..", because these
45 settings are just temporary and when will only be applied to this one
46 emerge.
47
48 I haven't used -k (--usepkg) yet however the man page tells me that -k
49 means, that precompiled packages should be used. So your USE flag does
50 not take any effect.
51
52 Btw.: You shouldn't say that this problem is fixed as you just have used
53 something precompiled and preconfigured. You should better digg deeper
54 into emerge and USE flags. Otherwise you will never understand portage
55 which is _essential_ for understanding and using Gentoo Linux. This is
56 just and advice...
57
58 Best Regards Jay
59 --
60 gentoo-user@g.o mailing list