Jari Fredriksson <ja...@iki.fi> writes: > You instanlled perl from cpan, and propably removed the earlier, package > managed version of perl?
No, I downloaded the sources and made Perl from source. The system has a quite old distribution, so it was impossible to install a package managed version. > Now you need to install ALL perl packages that are missing and that were > installed by your OS package manager earlier. > > DB_File propably needs some kind of "dev"-package for Berkeley DB (it > needs db.h and the libraries). That was the problem and I already did this and sa-learn works again. > What comes to SpamAssassin, you probably need to look out all > prerequisities, and reinstall them thru CPAN, if not with your package > manager. > > In CPAN, you might want to try at least > > install Bundle::CPAN I'll do this. Will properly take some time, because it is quit an old system. > and if that does not install YAML and LWPm then > > install YAML > install LWP I'll do this also. > It usually is bad practise to install perl thru CPAN and bypassing own > package management. You may now be dependent on CPAN on all your Perl > stuff. I have been there, done that. Now trying to stick with distro > Perl, and upgrade distro, if Perl gets old. I will make sure this will be done. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof