Re: [gentoo-user] help with emerge package recompile
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 signature.asc Description: PGP signature
Re: [gentoo-user] help with emerge package recompile
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
Re: [gentoo-user] help with emerge package recompile
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
Re: [gentoo-user] help with emerge package recompile
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
Re: [gentoo-user] help with emerge package recompile
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
Re: [gentoo-user] help with emerge package recompile
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
Re: [gentoo-user] help with emerge package recompile
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 pgprFcOuZvjbd.pgp Description: PGP signature
Re: [gentoo-user] help with emerge package recompile
On Fri, 02 Feb 2007 15:30:29 -0500 Fei Liu [EMAIL PROTECTED] 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