Install perl
Mail Toaster is written in Perl. Certain programs (like SpamAssassin) require perl 5.8.1 or higher to function optimally. To determine what version of perl you are running:
perl -v
If you are using a version older than 5.8.1, you must update it. How you do this will vary based on your Operating System.
Contents |
FreeBSD
Install from FreeBSD ports:
cd /usr/ports/lang/perl5.10; make install clean;
or packages:
pkg_add -r perl5.10
Installing the package is much faster. If you are running an older release of FreeBSD, you should update your ports tree and install the latest version in ports.
FreeBSD 4
FreeBSD 4 comes with perl 5.6 installed as part of the base install. After installing perl from ports (see above) you must tell your system to use the new port supplied version of perl. You do this by running the use.perl program.
use.perl port;
Darwin (Mac OS X)
Perl 5.8 is already included, and Apple is keeps it updated with major OS releases. However, you do have two alternate tasks:
- Install Developer Tools
- Setting up CPAN
Linux
Make sure the latest version of Perl (5.8.5+) is installed. This will vary based on your distro., See the docs that came with your distro for the best way to do this. Many distros have CPAN pre-configured.
Other OS
Most UNIX-like platforms now include a modern (5.8.1+) version of perl.