When trying to emerge gtk-perl-0.7008-r7 it fails with this error: Also happens when emerging Gimp (because it depends on gtk-perl ...) I dunno what package contains gnome-config thus can't help more ... Calculating dependencies ...done! >>> emerge (1 of 1) dev-perl/gtk-perl-0.7008-r7 to / >>> md5 ;-) Gtk-Perl-0.7008.tar.gz >>> Unpacking source... >>> Unpacking Gtk-Perl-0.7008.tar.gz patching file Makefile.PL >>> Source unpacked. Can't exec "gnome-config": No such file or directory at Makefile.PL line 141. Can't exec "gnome-config": No such file or directory at Makefile.PL line 141. Can't exec "gnome-config": No such file or directory at Makefile.PL line 141. Submodule gnome is needed to build gnomeprint but it appears it's misdetected or not selected for compilation. Available modules: gtk gtkhtml gtkglarea gdkimlib gdkpixbuf gtkxmhtml gnome gnom eprint applets glade. You can disable the inclusion of a module using --without-pkgname. If a package is misdetected and you still want it to compile use --with-pkgname-force. To disable autodetection of modules use --without-guessing. make: *** No targets specified and no makefile found. Stop. !!! ERROR: dev-perl/gtk-perl-0.7008-r7 failed. !!! Function perl-module_src_compile, Line 32, Exitcode 2 !!! compilation failed
can you paste your use flags in here? looks like you have -gtk or -gtk2, which will break this ebuild completely. (just a guess)
As requested : USE="-arts X gtk2 -gnome alsa -kde sse mmx dvd -3dnow pcmcia pda xv dga avi mpeg quicktime maildir xface truetype" If I do : emerge -p gtk-perl > These are the packages that I would merge, in order. > Calculating dependencies ...done! > [ebuild N ] dev-perl/gtk-perl-0.7008-r7 If I do : USE="gnome" emerge -p gtk-perl > These are the packages that I would merge, in order. > Calculating dependencies ...done! > [ebuild N ] media-sound/esound-0.2.29 > [ebuild N ] gnome-base/gnome-libs-1.4.2 > [ebuild N ] dev-perl/gtk-perl-0.7008-r7 But I was thinking if a package needs the dep it will install it even when dissabled with USE="-gnome". Or is this not correct?
gnome is optional for gtk-perl, not required. If gnome is actively in your use flags, the ebuild will install some required ebuilds and include the gnome, applets, and gnomeprint flags. If your use flags state -gnome, the extra deps will not be installed and gtk-perl will disable those flags. emerge rsync though - r8 was released this afternoon to correctly set those settings, r7 tries but fails to.
is this merging correctly now?
Yes it is. Great work :) PS: Sorry for the late reply. I was on holiday.
<envy> no problem, going to close this out