Thomas,

> if perl module DBD::Pg is not avaiable this message is printed on startup:
>
> fetch_modules: error loading optional module Mail/SpamAssassin/BayesStore/
> PgSQL.pm:
>   Can't locate DBD/Pg.pm in @INC (@INC contains: /etc/perl /usr/local/lib/
> perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /
> usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/
> share/perl5/Mail/SpamAssassin/BayesStore/PgSQL.pm line 52, <DATA> line
> 253.
>   BEGIN failed--compilation aborted at /usr/share/perl5/Mail/SpamAssassin/
> BayesStore/PgSQL.pm line 52, <DATA> line 253.
>   Compilation failed in require at /usr/sbin/amavisd-new line 197, <DATA>
> line 253.
>
> this message was not printed with 2.6.2. seems not to be a fatal error as
> amavisd is started after this message.

It is just a warning and can be ignored. I'll see what can be done about it,
thanks for reporting. It is a result of the following change:

- fetch_modules: only suppress the "Can't locate ... in @INC" diagnostics
  if exactly the requested module is missing, but do show the error if some
  subordinate module is missing and preventing the requested module to be
  loaded;


Mark

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to