Step 1: Upgrade Perl. Certain features (like spam filtering) require perl 5.8.1 or higher to function fully. If perl -v reflects anything smaller than 5.8.1, it is recommended that you upgrade to the latest 5.8 version. You can do this via:
WARNING: Disable any cron jobs that run perl scripts *before* upgrading perl. When you upgrade perl, the installed modules get left behind and need to be re-installed. After upgrading perl and all the installed modules, test the cron jobs by running them on the command line before enabling them. If you don't want to use toaster_setup.pl to upgrade perl, you can do it manually as follows:
You need Perl's CPAN working for installing perl modules so make sure it's configured. If the following command doesn't give you a prompt, then you'll be prompted to configure.
If you choose to install Perl 5.8, make sure you enable suidperl. You do this by adding -DENABLE_SUIDPERL as shown above or if using pkg* and friends, add the following line to the MAKE_ARGS of /usr/local/etc/pkgtools.conf:
After upgrading Perl, your installed Perl modules will not work with the new version of Perl. You'll want to update them. I find the easiest approach is something like this:
Last modified on 4/9/05. |
|