Hi,

I'm running:

#spamassassin --version

SpamAssassin version 3.1.9
  running on Perl version 5.8.8

and would greatly appreciate a help in troubleshooting this problem.

I'm getting the error messages below from spamassaassin --lint, but it seems
to be bogus, since CHARSETS_LIKELY_TO_FP_AS_CAPS is defined in
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin:

Any ideas?

Thanks!

Terry


/////////////////////////////
# These are generic constants that may be used across several modules
@SA_VARS = qw(
        HARVEST_DNSBL_PRIORITY MBX_SEPARATOR
        MAX_BODY_LINE_LENGTH MAX_HEADER_KEY_LENGTH MAX_HEADER_VALUE_LENGTH
        MAX_HEADER_LENGTH ARITH_EXPRESSION_LEXER AI_TIME_UNKNOWN
        CHARSETS_LIKELY_TO_FP_AS_CAPS MAX_URI_LENGTH
);
/////////////////////////////

[30813] warn: plugin: failed to parse plugin (from @INC): Bareword
"Mail::SpamAssassin::Constants::CHARSETS_LIKELY_TO_FP_AS_CAPS" not allowed
while "strict subs" in use at
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Plugin/HeaderEval.pm line
968.

[30813] warn: Compilation failed in require at (eval 89) line 1.
[30813] warn: plugin: failed to create instance of plugin
Mail::SpamAssassin::Plugin::HeaderEval: Can't locate object method "new" via
package "Mail::SpamAssassin::Plugin::HeaderEval" at
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Plugin/HeaderEval.pm line
39.
[30813] warn: plugin: failed to parse plugin (from @INC):
"CHARSETS_LIKELY_TO_FP_AS_CAPS" is not exported by the
Mail::SpamAssassin::Constants module
[30813] warn: Can't continue after import errors at
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22
[30813] warn: BEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Plugin/MIMEEval.pm line 22.
[30813] warn: Compilation failed in require at (eval 91) line 1.
[30813] warn: plugin: failed to create instance of plugin
Mail::SpamAssassin::Plugin::MIMEEval: Can't locate object method "new" via
package "Mail::SpamAssassin::Plugin::MIMEEval" at (eval 92) line 1.
[30813] warn: FuzzyOcr: Cannot find executable for tesseract
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Number found where operator expected at (eval 266) line 10, near 
"}
[30813] warn:
[30813] warn:  1"
[30813] warn:  (Missing operator before
[30813] warn:
[30813] warn:  1?)
[30813] warn: rules: failed to run header tests, skipping some: syntax error
at (eval 266) line 6, at EOF
[30813] warn: Global symbol "$plugin" requires explicit package name at (eval
266) line 7.
[30813] warn: syntax error at (eval 266) line 11, near ";
[30813] warn: }"
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Number found where operator expected at (eval 267) line 10, near 
"}
[30813] warn:
[30813] warn:  1"
[30813] warn:  (Missing operator before
[30813] warn:
[30813] warn:  1?)
[30813] warn: rules: failed to run header tests, skipping some: syntax error
at (eval 267) line 6, at EOF
[30813] warn: Global symbol "$plugin" requires explicit package name at (eval
267) line 7.
[30813] warn: syntax error at (eval 267) line 11, near ";
[30813] warn: }"
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Number found where operator expected at (eval 268) line 10, near 
"}
[30813] warn:
[30813] warn:  1"
[30813] warn:  (Missing operator before
[30813] warn:
[30813] warn:  1?)
[30813] warn: rules: failed to run header tests, skipping some: syntax error
at (eval 268) line 6, at EOF
[30813] warn: Global symbol "$plugin" requires explicit package name at (eval
268) line 7.
[30813] warn: syntax error at (eval 268) line 11, near ";
[30813] warn: }"
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Number found where operator expected at (eval 269) line 10, near 
"}
[30813] warn:
[30813] warn:  1"
[30813] warn:  (Missing operator before
[30813] warn:
[30813] warn:  1?)
[30813] warn: rules: failed to run header tests, skipping some: syntax error
at (eval 269) line 6, at EOF
[30813] warn: Global symbol "$plugin" requires explicit package name at (eval
269) line 7.
[30813] warn: syntax error at (eval 269) line 11, near ";
[30813] warn: }"
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Number found where operator expected at (eval 270) line 10, near 
"}
[30813] warn:
[30813] warn:  1"
[30813] warn:  (Missing operator before
[30813] warn:
[30813] warn:  1?)
[30813] warn: rules: failed to run header tests, skipping some: syntax error
at (eval 270) line 6, at EOF
[30813] warn: Global symbol "$plugin" requires explicit package name at (eval
270) line 7.
[30813] warn: syntax error at (eval 270) line 11, near ";
[30813] warn: }"
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Number found where operator expected at (eval 271) line 10, near 
"}
[30813] warn:
[30813] warn:  1"
[30813] warn:  (Missing operator before
[30813] warn:
[30813] warn:  1?)
[30813] warn: rules: failed to run header tests, skipping some: syntax error
at (eval 271) line 6, at EOF
[30813] warn: Global symbol "$plugin" requires explicit package name at (eval
271) line 7.
[30813] warn: syntax error at (eval 271) line 11, near ";
[30813] warn: }"
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Number found where operator expected at (eval 272) line 10, near 
"}
[30813] warn:
[30813] warn:  1"
[30813] warn:  (Missing operator before
[30813] warn:
[30813] warn:  1?)
[30813] warn: rules: failed to run header tests, skipping some: syntax error
at (eval 272) line 6, at EOF
[30813] warn: Global symbol "$plugin" requires explicit package name at (eval
272) line 7.
[30813] warn: syntax error at (eval 272) line 11, near ";
[30813] warn: }"
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/PerMsgStatus.pm line 2669.
[30813] warn: Number found where operator expected at (eval 273) line 10, near 
"}
[30813] warn:
[30813] warn:  1"
[30813] warn:  (Missing operator before
[30813] warn:
[30813] warn:  1?)
[30813] warn: rules: failed to run header tests, skipping some: syntax error
at (eval 273) line 6, at EOF
[30813] warn: Global symbol "$plugin" requires explicit package name at (eval
273) line 7.
[30813] warn: syntax error at (eval 273) line 11, near ";
[30813] warn: }"
[30813] warn: lint: 8 issues detected, please rerun with debug enabled for
more information



Reply via email to