I just emerged g-cpan (on two different - but both older - gentoo installs) 0.14 and 0.15_rc3. In both cases, and on both machines, a g-cpan -l (right after install) gives me this: # g-cpan -l * g-cpan: OVERLAY: /usr/local/portage/perl-gcpan * g-cpan: Couldn't open folder /usr/local/portage/perl-gcpan: No such file or directory If I create the /usr/local/portage/perl-gcpan - the line about that just goes away - nothing else. If I then try: # g-cpan --cpan_reload * g-cpan: You haven't told g-cpan what to do. ... I really miss being able to install perl-modules from cpan, as packages. I haven't used in a long while - the old tool to do this, had obviously disappeared, and g-cpan I only found with some forum searching, but it seems it has regressed quite a bit from the old tool :( If you want to know versions of any packages, pls. let me know - I'm guessing some old version (and ie. missing dependency in the ebuild) is the cause of this.
Kindly review http://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
post your emerge --info output. What does PORTDIR_OVERLAY point to really? --cpan_reload is to tell cpan to re-download the module lists and has no affect on g-cpan itself (other than the freshness of the cpan listing its querrying). g-cpan -l will only list those ebuilds that exist in your $overlay/perl-gcpan - if there's nothing there, there's nothing to show (which is what your results indicate).
ahlo?
Hi Michael, Sorry for the delay. I must say that I'm completely NOT following what you mean. in make.conf PORTDIR_OVERLAY=/usr/local/portage # g-cpan -l * g-cpan: OVERLAY: /usr/local/portage/perl-gcpan I was expecting that a --reload_cpan would fill the overlay with the packages that it supports (as I understand the help text from --help).
Ah! Then I need to rewrite the help text :) reload_cpan is to reload the cpan mirror and module texts, not fill the overlay. The overlay is filled based on your requests, ie if you say g-cpan -g Foo::Bar, the module Foo::Bar and its dependencies would get ebuilds generated in the overlay. Or if you said g-cpan -i Foo::Bar::Foo, Foo::Bar::Foo and deps would be generated and then installed from your overlay. There is no external overlay that g-cpan pulls from - everything is written on the fly as it were.
(In reply to comment #4) > # g-cpan -l > * g-cpan: OVERLAY: /usr/local/portage/perl-gcpan > > I was expecting that a --reload_cpan would fill the overlay with the packages > that it supports (as I understand the help text from --help). Errr.... I really don't see how does the following imply filling any overlay with anything. --cpan_reload Reload the CPAN index