Richard Ozer wrote:
I have sa 3.0.2 and perl 5.8.6 running happily on six different servers right now.
That is good news.
After installing 5.8.6, you need to make sure that your cpan module installations and Makefile commands are being done under 5.8.6. Unless you explicitly removed the earlier version of Perl, you risk calling the older executable. I found that my 5.6 perl lived in /usr/bin and my 5.8 perl lived in /usr/local/bin.
yes, i noticed that the first thing that happened when I installed 5.8 was that running perl apps started complaining. my running mimedefang bailed with an error. I just went about re-installing the modules that were giving errors from CPAN.
This fixed the problem. The error was quite self-explanitory:
Jan 3 03:54:40 raid mimedefang-multiplexor: Slave 3 stderr: Digest::SHA1 object version 2.01 does
not match bootstrap parameter 2.07 at /usr/lib/perl5/i386-linux/DynaLoader.pm line 253.
Compilation failed in require at /usr/local/bin/mimedefang.pl line 62. BEGIN failed--compilation
aborted at /usr/local/bin/mimedefang.pl line 62.
Under slackware 7.1, the perl binaries are installed under /usr, although perl's default is to install under /usr/local.
(What I usually do when upgrading something installed with slackware, is to try to follow as much as possible what was done for the building of the original package. - from the SlackBuild files in the source tree of the distro, or in this case the file was called perl.build ftp://ftp.slackware.com/pub/slackware/slackware-7.1/patches/source/perl/ - but i wander seriously off-topic. This might be useful to somebody else needing to upgrade from 5.6.0 on Slackware 7.1)
I kept both versions during testing, and called cpan explicitly by running /usr/local/bin/perl -MCPAN -e shell.
Right, well I made sure to overwrite the old perl. But I have a feeling that this problem is due to something under /usr/lib/perl that is not right.