Debian Codegraph @

INSTALL

raw
1 Read the file README.
2
3 Recommended installation method:
4 ================================
5
6 The canonical installation method is to unpack the tarball into some
7 convenient directory in an ordinary user's home directory tree, build
8 the Makefile using 'perl Makefile.PL', then run 'make' three times as
9 shown in the following example:
10
11 $ cd ~/sources
12 $ tar xzvf sendmail-pmilter-1.28.tgz
13 $ cd sendmail-pmilter-1.28
14 $ perl Makefile.PL
15 $ make
16 $ make test
17 $ su
18 # make install
19 # exit
20 $
21
22 On any Unix-like operating system you will of course probably need to
23 have root permissions for the 'make install' step, hence the 'su' step
24 (followed by giving root's password) before the 'make install' step.
25
26 Some systems are set up to use 'sudo', and instead of 'su' to the root
27 user followed by giving the 'make install' command as root you may for
28 example be able to do a single step such as
29
30 $ sudo make install
31
32 Your prompts may or may not look like the prompts shown above, and the
33 output of the commands shown above is NOT shown - there will probably
34 be quite a lot of output in a successful installation, consider use of
35 the 'script' utility for example if you want to capture it.
36
37 Alternative installation method:
38 ================================
39
40 If (a) you know what you're doing and (b) you have no need to run the
41 tests automatically and install the examples, it is sufficient instead
42 of the canonical installation method simply to copy the two modules
43
44 PMilter.pm
45 PMilter/Context.pm
46
47 into a directory such as
48
49 /usr/local/lib/site-perl/Sendmail/
50
51 which you have ensured that Perl can find on the system when needed.
52
53 After copying the files you should have them stored as
54
55 /usr/local/lib/site-perl/Sendmail/PMilter.pm
56
57 and
58
59 /usr/local/lib/site-perl/Sendmail/PMilter/Context.pm
60
61 Take great care with the file permissions if you do this.