1 |
-u should be checking for upgrades. Do you have a permanent |
2 |
PORTDIR_OVERLAY, and if so, is there a perl-gcpan directory with |
3 |
generated ebuilds in it? g-cpan checks against ebuilds in your overlay |
4 |
(not installed - wasn't that bright when I added that functionality). |
5 |
|
6 |
-mike |
7 |
|
8 |
Chisel Wright wrote: |
9 |
> Hi all, |
10 |
> |
11 |
> I'm confused. (Not new, some might say) |
12 |
> |
13 |
> What exactly does/should 'g-cpan -u' do? I was under the impression that |
14 |
> it would check all g-cpan installed perl modules and install newer |
15 |
> versions (if they exist). |
16 |
> |
17 |
> So, why does the following happen: |
18 |
> |
19 |
> ---- cut here ---- |
20 |
> thea ~ # g-cpan -u IO |
21 |
> * g-cpan: Looking for IO... |
22 |
> CPAN: Storable loaded ok |
23 |
> Going to read /root/.cpan/Metadata |
24 |
> Database was generated on Mon, 14 Nov 2005 08:49:13 GMT |
25 |
> * g-cpan: Checking ebuild for 'IO': IO |
26 |
> Running make for G/GB/GBARR/IO-1.22.tar.gz |
27 |
> |
28 |
> *snip* |
29 |
> |
30 |
> Manifying blib/man3/IO::File.3pm |
31 |
> Manifying blib/man3/IO::Socket::UNIX.3pm |
32 |
> Manifying blib/man3/IO.3pm |
33 |
> /usr/bin/make -- OK |
34 |
> Calculating dependencies ...done! |
35 |
> |
36 |
>>>>Auto-cleaning packages ... |
37 |
> |
38 |
> |
39 |
>>>>No outdated packages were found on your system. |
40 |
> |
41 |
> |
42 |
> |
43 |
> * GNU info directory index is up-to-date. |
44 |
> |
45 |
> |
46 |
> |
47 |
> thea ~ # perl -MIO -e 'print IO->VERSION(), qq[\n];' |
48 |
> 1.22 |
49 |
> |
50 |
> |
51 |
> thea ~ # g-cpan -u IO |
52 |
> * g-cpan: Looking for IO... |
53 |
> CPAN: Storable loaded ok |
54 |
> Going to read /root/.cpan/Metadata |
55 |
> Database was generated on Mon, 14 Nov 2005 08:49:13 GMT |
56 |
> * g-cpan: Checking ebuild for 'IO': IO |
57 |
> Running make for G/GB/GBARR/IO-1.22.tar.gz |
58 |
> CPAN: LWP::UserAgent loaded ok |
59 |
> |
60 |
> |
61 |
> *snip* |
62 |
> ---- cut here ---- |
63 |
> |
64 |
> |
65 |
> OK, so I upgrade IO, is appears to install successfully. I check what |
66 |
> version of IO perl thinks I have installed. |
67 |
> |
68 |
> So, just to be sure, I tell g-cpan to upgrade IO. It then 'upgrades' |
69 |
> from 1.22 to 1.22. |
70 |
> |
71 |
> Erm. |
72 |
> |
73 |
> I'm confused. |
74 |
> |
75 |
> |
76 |
> It seems to be the same or similar with 'g-cpan -u' to try to upgrade |
77 |
> everything. |
78 |
> I'm not even sure if 'g-cpan -u' does anything or not. |
79 |
> |
80 |
|
81 |
-- |
82 |
gentoo-perl@g.o mailing list |