Fei Liu wrote:
Fei Liu wrote:
Hello, I was going to install 'webalizer' (apache monitoring software) by 'emerge -kv webalizer', I got the following error:

!!! ERROR: app-admin/webalizer-2.01.10-r12 failed.
Call stack:
 ebuild.sh, line 1555:   Called dyn_setup
 ebuild.sh, line 668:   Called pkg_setup
 webalizer-2.01.10-r12.ebuild, line 45:   Called die

!!! recompile gd with USE="png"
!!! If you need support, post the topmost build error, and the call stack if relevant.

I tried to do 'USE="png" emerge -update gd', and I got a scary list of package ebuilds:
[ebuild  N    ] media-libs/gd-2.0.33  USE="png*"
[ebuild  N    ]  media-libs/freetype-2.1.10-r2
[ebuild  N    ]  media-libs/libpng-1.2.12
[ebuild  N    ]  sys-devel/libtool-1.5.22
....skipped

What should I do in this case? How exactly should I update my 'gd' package? Sorry, I am still new to the emerge system.

Thanks,
Fei
Hello, I am just reporting back, I have this fixed (by trying with -p flag):

USE="png jpeg" emerge -vkp gd

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] media-libs/gd-2.0.33 USE="jpeg* png* truetype -fontconfig -xpm" 0 kB


One thing I am curious is, it seems a lot of source code packages are cached on my local machine, what should I do to remove them from my hard drive?

Fei
This "cached packages" as you call them are termed distfiles (distfiles.gentoo.org) and located in /usr/portage/distfiles because if you want to re-emerge a package you won't need to download it again. If you run out of diskspace, just mount /usr/portage/distfiles on another partition or harddisk.

Best Regards Jay
--
gentoo-user@gentoo.org mailing list

Reply via email to