Debian Codegraph @

INSTALL

raw
1 Installation Instructions
2
3 The instructions are basically as per any Perl module.
4
5
6 INSTALLING AUTOMATICALLY
7 ------------------------
8
9 The easiest way to install is via CPAN or CPANPLUS:
10
11 CPAN:
12
13 % perl -MCPAN -e shell [as root]
14 > install Test::Signature
15 > quit
16
17 CPANPLUS:
18
19 % cpanp
20 > i Test::Signature
21 > q
22
23 See your local 'perldoc CPAN' or 'perldoc CPANPLUS' for
24 instructions on setting up and configuring CPAN or CPANPLUS.
25
26
27 OBTAINING THE MODULE
28 --------------------
29
30 The latest release version of Test::Signature can be downloaded
31 from any CPAN site:
32
33 http://www.cpan.org/modules/by-authors/id/A/AU/AUDREYT/
34 http://search.cpan.org/dist/Test-Signature/
35
36 Test::Signature is distributed as a gzipped tar archive file:
37
38 Test-Signature-<version>.tar.gz
39
40 where <version> represents the current version number, e.g. 1.05.
41
42 To install the module, unpack the distribution archive to
43 create an installation directory. Something like this:
44
45 tar zxf Test-Signature-1.05.tar.gz
46 or
47 gunzip Test-Signature-1.05.tar.gz
48 tar xf Test-Signature-1.05.tar
49
50 You can then 'cd' into the directory created,
51
52 cd Test-Signature-1.05
53
54
55
56 INSTALLING MANUALLY
57 -------------------
58
59 First, verify the package's integrity by ensuring you have
60 Module::Signature installed, then type:
61
62 % cpansign -v
63
64 That will check each file's integrity, as well as the signature's
65 validity, thus verifying the integrity of the entire package.
66 If "==> Signature verified OK! <==" is not displayed, the
67 distribution may already have been compromised, and you should not run
68 its Makefile.PL.
69
70 Ideally, you should confirm with a third party that the finger print and
71 key id by which the signature was signed is indeed the key it is meant
72 to be (ideally you'll have an appropriate web of trust set up, but
73 that's not always possible).
74
75 The 'make install' (done later) will install the modules and scripts on
76 your system. You may need administrator privileges to perform this task.
77 Alternately you can install the module to a local directory (see
78 ExtUtils::MakeMaker for full details), e.g.
79
80 % perl Makefile.PL PREFIX=/home/abw/
81
82 Don't forget to update your PERL5LIB environment variable if you do
83 this, or add a line to your script to tell Perl where to find the files,
84 e.g.
85
86 use lib qw( /home/abw/lib/perl5/site_perl/5.6.0 );
87
88 If you're not after a custom location, just do:
89
90 % perl Makefile.PL
91
92 If you are lacking any of the prerequisite modules, running that
93 program will tell you. All prerequisites are available from CPAN.
94
95 When you have them all:
96
97 % make && make test
98
99 If there are any failures, it's best if you contact me. It may help
100 other people who have the same problem. I don't tend to read the Perl
101 newsgroups or PerlMonks, so it's no use posting there.
102
103 When you report your trouble, be sure to send me the following
104 information;
105 + result of `perl -V'
106 + output from 'make test' - ideally do 'make test TEST_VERBOSE=1 >& errs'
107
108 Send those to [email protected] and I'll get
109 back to you as soon as I'm able.
110
111 If it worked, then become root and type:
112
113 # make install
114
115 Congratulations. You've just installed Test::Signature.
116
117 If you have a copy of cpantest installed, type:
118
119 % cpantest -g pass -nc -p `basename \`pwd\`` -auto
120
121 Or:
122 % cpantest -g pass -nc -p Test-Signature-1.05 -auto
123
124 That will tell both me and other potential users that the module
125 built correctly on your machine.
126
127
128 cheers,
129 Iain (aka Spoon).
130 http://iain.truskett.id.au/