ActivePerl(5.10.0 Build 1002)でcpanを本気で使いたかった

1
2
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
C:\Program Files\Microsoft Visual Studio 9.0\VC>
1
2
3
4
5
6
C:\Program Files\Microsoft Visual Studio 9.0\VC>d:
D:\>cd usr\bin
D:\usr\bin>cpan
cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled
cpan[1]>
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
cpan[1]> o conf init
Use of uninitialized value $_ in transliteration (tr///) at D:/usr/lib/File/Spec
/Win32.pm line 141.
Use of uninitialized value $_ in pattern match (m//) at D:/usr/lib/File/Spec/Win
32.pm line 143.
Use of uninitialized value $_ in transliteration (tr///) at D:/usr/lib/File/Spec
/Win32.pm line 141.
Use of uninitialized value $_ in pattern match (m//) at D:/usr/lib/File/Spec/Win
32.pm line 143.
CPAN is the world-wide archive of perl resources. It consists of about
300 sites that all replicate the same contents around the globe. Many
countries have at least one CPAN site already. The resources found on
CPAN are easily accessible with the CPAN.pm module. If you want to use
CPAN.pm, lots of things have to be configured. Fortunately, most of
them can be determined automatically. If you prefer the automatic
configuration, answer 'yes' below.
If you prefer to enter a dialog instead, you can answer 'no' to this
question and I'll let you configure in small steps one thing after the
other. (Note: you can revisit this dialog anytime later by typing 'o
conf init' at the cpan prompt.)
Would you like me to configure as much as possible automatically? [yes]
1
2
3
4
Autoconfigured everything but 'urllist'.
Please call 'o conf init urllist' to configure your CPAN server(s) now!
commit: wrote 'D:\usr\lib/CPAN/Config.pm'
cpan[2]>
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
cpan[2]> o conf init urllist
Use of uninitialized value $_ in transliteration (tr///) at D:/usr/lib/File/Spec
/Win32.pm line 141.
Use of uninitialized value $_ in pattern match (m//) at D:/usr/lib/File/Spec/Win
32.pm line 143.
Use of uninitialized value $_ in transliteration (tr///) at D:/usr/lib/File/Spec
/Win32.pm line 141.
Use of uninitialized value $_ in pattern match (m//) at D:/usr/lib/File/Spec/Win
32.pm line 143.
Found D:\usr\cpan\sources\MIRRORED.BY as of Tue May  6 10:14:04 2008
I'd use that as a database of CPAN sites. If that is OK for you,
please answer 'y', but if you want me to get a new database now,
please answer 'n' to the following question.
Shall I use the local database in D:\usr\cpan\sources\MIRRORED.BY? [y]
Now we need to know where your favorite CPAN sites are located. Push
a few sites onto the array (just in case the first on the array won't
work). If you are mirroring CPAN to your local workstation, specify a
file: URL.
First, pick a nearby continent and country by typing in the number(s)
in front of the item(s) you want to select. You can pick several of
each, separated by spaces. Then, you will be presented with a list of
URLs of CPAN mirrors in the countries you selected, along with
previously selected URLs. Select some of those URLs, or just keep the
old list. Finally, you will be prompted for any extra URLs -- file:,
ftp:, or http: -- that host a CPAN mirror.
(1) Africa
(2) Asia
(3) Central America
(4) Europe
(5) North America
(6) Oceania
(7) South America
(8) (edit previous picks)
Select your continent (or several nearby continents) [8] 2
(1) China
(2) Hong Kong
(3) Indonesia
(4) Israel
(5) Japan
(6) Korea
(7) Pakistan
(8) Republic of Korea
(9) Russia
(10) Saudi Arabia
(11) Singapore
(12) Taiwan
(13) Thailand
(14) Turkey
(15) (edit previous picks)
Select your country (or several nearby countries) [15] 5
(1) ftp://ftp.dti.ad.jp/pub/lang/CPAN/ (previous pick)
(2) ftp://ftp.jaist.ac.jp/pub/CPAN/ (previous pick)
(3) ftp://ftp.kddilabs.jp/CPAN/ (previous pick)
(4) ftp://ftp.nara.wide.ad.jp/pub/CPAN/ (previous pick)
(5) ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/ (previous pick)
(6) ftp://ftp.u-aizu.ac.jp/pub/CPAN (previous pick)
(7) ftp://ftp.yz.yamagata-u.ac.jp/pub/lang/cpan/ (previous pick)
(8) http://ppm.activestate.com/CPAN (previous pick)
(9) http://cpan.perl.org (previous pick)
Select as many URLs as you like (by number),
put them on one line, separated by blanks, hyphenated ranges allowed
e.g. '1 4 5' or '7 1-4 8'
(or just hit RETURN to keep your previous picks) [1 2 3 4 5 6 7 8 9] 1-9
Enter another URL or RETURN to quit: []
New set of picks:
ftp://ftp.dti.ad.jp/pub/lang/CPAN/
ftp://ftp.jaist.ac.jp/pub/CPAN/
ftp://ftp.kddilabs.jp/CPAN/
ftp://ftp.nara.wide.ad.jp/pub/CPAN/
ftp://ftp.ring.gr.jp/pub/lang/perl/CPAN/
ftp://ftp.u-aizu.ac.jp/pub/CPAN
ftp://ftp.yz.yamagata-u.ac.jp/pub/lang/cpan/
http://ppm.activestate.com/CPAN
http://cpan.perl.org
Please remember to call 'o conf commit' to make the config permanent!
cpan[3]>
1
2
3
cpan[3]> o conf commit
commit: wrote 'D:\usr\lib/CPAN/Config.pm'
cpan[4]>
1
2
#     if ($Config{ivsize} == 4 && $Config{cc} eq 'cl' and $Config{ccversion} =~ /^(\d+)/ and $1 >= 14)
if ($Config{ivsize} == 4 && $Config{cc} eq 'cl')
comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy