* [gentoo-user] help with emerge package recompile
@ 2007-02-02 20:13 Fei Liu
2007-02-02 20:26 ` Jakob Buchgraber
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Fei Liu @ 2007-02-02 20:13 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] help with emerge package recompile
2007-02-02 20:13 [gentoo-user] help with emerge package recompile Fei Liu
@ 2007-02-02 20:26 ` Jakob Buchgraber
2007-02-02 20:31 ` Fei Liu
2007-02-02 20:30 ` Fei Liu
[not found] ` <200702021429.38649.bss03@volumehost.net>
2 siblings, 1 reply; 9+ messages in thread
From: Jakob Buchgraber @ 2007-02-02 20:26 UTC (permalink / raw
To: gentoo-user
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
You should add "png" to /etc/make.conf or /etc/portage/package.use and
then reemerge gd lib (emerge --newuse gd).
Cheers,
Jay
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] help with emerge package recompile
2007-02-02 20:13 [gentoo-user] help with emerge package recompile Fei Liu
2007-02-02 20:26 ` Jakob Buchgraber
@ 2007-02-02 20:30 ` Fei Liu
2007-02-02 20:37 ` Jakob Buchgraber
2007-02-02 21:09 ` Dan Farrell
[not found] ` <200702021429.38649.bss03@volumehost.net>
2 siblings, 2 replies; 9+ messages in thread
From: Fei Liu @ 2007-02-02 20:30 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] help with emerge package recompile
2007-02-02 20:26 ` Jakob Buchgraber
@ 2007-02-02 20:31 ` Fei Liu
2007-02-02 20:47 ` Jakob Buchgraber
0 siblings, 1 reply; 9+ messages in thread
From: Fei Liu @ 2007-02-02 20:31 UTC (permalink / raw
To: gentoo-user
Jakob Buchgraber 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
> You should add "png" to /etc/make.conf or /etc/portage/package.use and
> then reemerge gd lib (emerge --newuse gd).
>
> Cheers,
> Jay
Hi Jay, thank you, please see my other thread, I used 'USE="png" emerge
-kv gd' to fix this problem. But it's good to learn the --newuse flag.
Do you know what I should do to remove all the cached source code packages?
Fei
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] help with emerge package recompile
2007-02-02 20:30 ` Fei Liu
@ 2007-02-02 20:37 ` Jakob Buchgraber
2007-02-02 21:09 ` Dan Farrell
1 sibling, 0 replies; 9+ messages in thread
From: Jakob Buchgraber @ 2007-02-02 20:37 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] help with emerge package recompile
2007-02-02 20:31 ` Fei Liu
@ 2007-02-02 20:47 ` Jakob Buchgraber
0 siblings, 0 replies; 9+ messages in thread
From: Jakob Buchgraber @ 2007-02-02 20:47 UTC (permalink / raw
To: gentoo-user
Fei Liu wrote:
> Jakob Buchgraber 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
>> You should add "png" to /etc/make.conf or /etc/portage/package.use
>> and then reemerge gd lib (emerge --newuse gd).
>>
>> Cheers,
>> Jay
> Hi Jay, thank you, please see my other thread, I used 'USE="png"
> emerge -kv gd' to fix this problem. But it's good to learn the
> --newuse flag. Do you know what I should do to remove all the cached
> source code packages?
>
> Fei
Hey!
See my e-mail or "Boyed Stephen Smith Jr.'s mail". Don't use
USE="blabla" emerge package or ACCEPT_KEYWORDS="..", because these
settings are just temporary and when will only be applied to this one
emerge.
I haven't used -k (--usepkg) yet however the man page tells me that -k
means, that precompiled packages should be used. So your USE flag does
not take any effect.
Btw.: You shouldn't say that this problem is fixed as you just have used
something precompiled and preconfigured. You should better digg deeper
into emerge and USE flags. Otherwise you will never understand portage
which is _essential_ for understanding and using Gentoo Linux. This is
just and advice...
Best Regards Jay
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] help with emerge package recompile
[not found] ` <200702021429.38649.bss03@volumehost.net>
@ 2007-02-02 20:55 ` Bo Ørsted Andresen
0 siblings, 0 replies; 9+ messages in thread
From: Bo Ørsted Andresen @ 2007-02-02 20:55 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 572 bytes --]
On Friday 02 February 2007 21:29:33 Boyd Stephen Smith Jr. wrote:
> Also, if you use the long option name you must use two dashes '--' and not
> one '-'. You argument '-update' is equivalent to '-u -p -d -a -t -e',
> which includes (among other things) the -e (--emptytree) flag, forcing
> emerge to pretend you have no packages installed.
Haha. Nice catch!
-update == --update --pretend --debug --ask --tree --emptytree
All of those options are valid and with --debug and --emptytree that's going
to give a scary amount of output...
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] help with emerge package recompile
2007-02-02 20:30 ` Fei Liu
2007-02-02 20:37 ` Jakob Buchgraber
@ 2007-02-02 21:09 ` Dan Farrell
2007-02-06 14:32 ` Neil Bothwick
1 sibling, 1 reply; 9+ messages in thread
From: Dan Farrell @ 2007-02-02 21:09 UTC (permalink / raw
To: gentoo-user
On Fri, 02 Feb 2007 15:30:29 -0500
Fei Liu <feiliu@aepnetworks.com> wrote:
> 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
you can delete /usr/portage/distfiles/* if you want to; i think the
worst thing to come of it would be having to redownload the sources
for each subsequent emerge of the same software.
Alternately, you could use an NFS share to make /usr/portage/distfiles
shared with all the computers on your network. If you have more than
one gentoo box, that is ; )
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] help with emerge package recompile
2007-02-02 21:09 ` Dan Farrell
@ 2007-02-06 14:32 ` Neil Bothwick
0 siblings, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2007-02-06 14:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
On Fri, 2 Feb 2007 15:09:44 -0600, Dan Farrell wrote:
> Alternately, you could use an NFS share to make /usr/portage/distfiles
> shared with all the computers on your network. If you have more than
> one gentoo box, that is ; )
You don;t need to be running Gentoo on the distfiles host. It doesn't
even have to be Linux, you could point $DISTDIR to a Samba mount on a
Windows box. This is useful if you have, say, a laptop with limited disk
space running Gentoo.
--
Neil Bothwick
If you think that you can truncate my sig to 75 chars, then you can just fu
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-02-06 14:44 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-02 20:13 [gentoo-user] help with emerge package recompile Fei Liu
2007-02-02 20:26 ` Jakob Buchgraber
2007-02-02 20:31 ` Fei Liu
2007-02-02 20:47 ` Jakob Buchgraber
2007-02-02 20:30 ` Fei Liu
2007-02-02 20:37 ` Jakob Buchgraber
2007-02-02 21:09 ` Dan Farrell
2007-02-06 14:32 ` Neil Bothwick
[not found] ` <200702021429.38649.bss03@volumehost.net>
2007-02-02 20:55 ` Bo Ørsted Andresen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox