It is possible to install SpamAssassin from source without using the CPAN module. The prerequisites are the same as when installing SpamAssassin via CPAN.
To install most Perl modules, including CPAN
and Mail-SpamAssassin
, there is a fairly standard set of commands. These can be repeated for most modules:
$ gunzip -c Module-9.99.tar.gz | tar xf - $ cd Module-9.99 $ perl Makefile.PL $ make test su # make install
When issuing the perl Makefile.PL
command for a module, missing dependencies are often noted and appear as warnings:
Warning: prerequisite Xxx::Yyyy n.mm not found.
Before continuing, the appropriate missing dependencies should be downloaded and installed using the same sequence of commands. Once this is done, the installation of the original module can continue as before with perl Makefile.PL
.