Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-perl
-u should be checking for upgrades. Do you have a permanent
PORTDIR_OVERLAY, and if so, is there a perl-gcpan directory with
generated ebuilds in it? g-cpan checks against ebuilds in your overlay
(not installed - wasn't that bright when I added that functionality).
-mike
Chisel Wright wrote:
> Hi all,
>
> I'm confused. (Not new, some might say)
>
> What exactly does/should 'g-cpan -u' do? I was under the impression that
> it would check all g-cpan installed perl modules and install newer
> versions (if they exist).
>
> So, why does the following happen:
>
> ---- cut here ----
> thea ~ # g-cpan -u IO
> * g-cpan: Looking for IO...
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
> Database was generated on Mon, 14 Nov 2005 08:49:13 GMT
> * g-cpan: Checking ebuild for 'IO': IO
> Running make for G/GB/GBARR/IO-1.22.tar.gz
>
> *snip*
>
> Manifying blib/man3/IO::File.3pm
> Manifying blib/man3/IO::Socket::UNIX.3pm
> Manifying blib/man3/IO.3pm
> /usr/bin/make -- OK
> Calculating dependencies ...done!
>
>>>>Auto-cleaning packages ...
>
>
>>>>No outdated packages were found on your system.
>
>
>
> * GNU info directory index is up-to-date.
>
>
>
> thea ~ # perl -MIO -e 'print IO->VERSION(), qq[\n];'
> 1.22
>
>
> thea ~ # g-cpan -u IO
> * g-cpan: Looking for IO...
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
> Database was generated on Mon, 14 Nov 2005 08:49:13 GMT
> * g-cpan: Checking ebuild for 'IO': IO
> Running make for G/GB/GBARR/IO-1.22.tar.gz
> CPAN: LWP::UserAgent loaded ok
>
>
> *snip*
> ---- cut here ----
>
>
> OK, so I upgrade IO, is appears to install successfully. I check what
> version of IO perl thinks I have installed.
>
> So, just to be sure, I tell g-cpan to upgrade IO. It then 'upgrades'
> from 1.22 to 1.22.
>
> Erm.
>
> I'm confused.
>
>
> It seems to be the same or similar with 'g-cpan -u' to try to upgrade
> everything.
> I'm not even sure if 'g-cpan -u' does anything or not.
>
--
gentoo-perl@g.o mailing list
|
|