View Single Post
  #10  
Old 28th March 2007, 02:35
bschultz bschultz is offline
Senior Member
 
Join Date: Jul 2006
Posts: 220
Thanks: 11
Thanked 10 Times in 10 Posts
Default

Falko,

Thanks for your help on this. I appreciate it.

I added the backports into my /etc/apt/sources list and everything went well with the how-to until I ran the test at the end. Here's the result:

Quote:
Subroutine FuzzyOcr::O_CREAT redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
Subroutine FuzzyOcr::O_EXCL redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
Subroutine FuzzyOcr::O_RDWR redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
[10777] warn: plugin: failed to parse plugin /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm: Can't locate FuzzyOcr/Logging.pm in @INC (@INC contains: /etc/mail/spamassassin lib /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4 /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 24.
[10777] warn: BEGIN failed--compilation aborted at /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 24.
[10777] warn: plugin: failed to create instance of plugin FuzzyOcr: Can't locate object method "new" via package "FuzzyOcr" at (eval 202) line 1.
[10777] info: config: failed to parse line, skipping: focr_global_wordlist /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.words
[10777] info: config: failed to parse line, skipping: focr_bin_helper pnmnorm, pnminvert, convert, ppmtopgm, tesseract
[10777] info: config: failed to parse line, skipping: focr_path_bin /usr/local/netpbm/bin:/usr/local/bin:/usr/bin
[10777] info: config: failed to parse line, skipping: focr_preprocessor_file /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.preps
[10777] info: config: failed to parse line, skipping: focr_scanset_file /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.scansets
[10777] info: config: failed to parse line, skipping: focr_enable_image_hashing 2
[10777] info: config: failed to parse line, skipping: focr_digest_db /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.hashdb
[10777] info: config: failed to parse line, skipping: focr_db_hash /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.db
[10777] info: config: failed to parse line, skipping: focr_db_safe /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.safe.db
[10777] info: config: failed to parse line, skipping: focr_end_config
[10777] info: config: failed to parse line, skipping: use_dcc 1
[10777] info: config: failed to parse line, skipping: dcc_path /usr/bin/dccproc
[10777] info: config: failed to parse line, skipping: dcc_add_header 1
[10777] info: config: failed to parse line, skipping: dcc_dccifd_path /usr/sbin/dccifd
[10777] info: config: failed to parse line, skipping: pyzor_add_header 1
[10777] warn: rules: failed to run FUZZY_OCR_CORRUPT_IMG test, skipping:
[10777] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10777] warn: )
[10777] warn: rules: failed to run FUZZY_OCR_WRONG_CTYPE test, skipping:
[10777] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10777] warn: )
[10777] warn: rules: failed to run FUZZY_OCR_WRONG_EXTENSION test, skipping:
[10777] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10777] warn: )
[10777] warn: rules: failed to run FUZZY_OCR_KNOWN_HASH test, skipping:
[10777] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10777] warn: )
[10777] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
[10777] warn: rules: failed to run FUZZY_OCR test, skipping:
[10777] warn: (Can't locate object method "fuzzyocr_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10777] warn: )
debian:/# /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --debug FuzzyOcr < /usr/src/FuzzyOcr-3.5.1/samples/ocr-gif.eml > /dev/null
Subroutine FuzzyOcr::O_CREAT redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
Subroutine FuzzyOcr::O_EXCL redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
Subroutine FuzzyOcr::O_RDWR redefined at /usr/share/perl/5.8/Exporter.pm line 65.
at /usr/lib/perl/5.8/POSIX.pm line 19
[10807] warn: Parameter to use lib must be directory, not file at /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 22
[10807] warn: plugin: failed to parse plugin /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm: Can't locate FuzzyOcr/Logging.pm in @INC (@INC contains: /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin lib /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4 /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 24.
[10807] warn: BEGIN failed--compilation aborted at /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.pm line 24.
[10807] warn: plugin: failed to create instance of plugin FuzzyOcr: Can't locate object method "new" via package "FuzzyOcr" at (eval 202) line 1.
[10807] info: config: failed to parse line, skipping: focr_global_wordlist /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.words
[10807] info: config: failed to parse line, skipping: focr_bin_helper pnmnorm, pnminvert, convert, ppmtopgm, tesseract
[10807] info: config: failed to parse line, skipping: focr_path_bin /usr/local/netpbm/bin:/usr/local/bin:/usr/bin
[10807] info: config: failed to parse line, skipping: focr_preprocessor_file /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.preps
[10807] info: config: failed to parse line, skipping: focr_scanset_file /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.scansets
[10807] info: config: failed to parse line, skipping: focr_enable_image_hashing 2
[10807] info: config: failed to parse line, skipping: focr_digest_db /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.hashdb
[10807] info: config: failed to parse line, skipping: focr_db_hash /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.db
[10807] info: config: failed to parse line, skipping: focr_db_safe /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/FuzzyOcr.safe.db
[10807] info: config: failed to parse line, skipping: focr_end_config
[10807] info: config: failed to parse line, skipping: use_dcc 1
[10807] info: config: failed to parse line, skipping: dcc_path /usr/bin/dccproc
[10807] info: config: failed to parse line, skipping: dcc_add_header 1
[10807] info: config: failed to parse line, skipping: dcc_dccifd_path /usr/sbin/dccifd
[10807] info: config: failed to parse line, skipping: pyzor_add_header 1
[10807] warn: rules: failed to run FUZZY_OCR_CORRUPT_IMG test, skipping:
[10807] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10807] warn: )
[10807] warn: rules: failed to run FUZZY_OCR_WRONG_CTYPE test, skipping:
[10807] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10807] warn: )
[10807] warn: rules: failed to run FUZZY_OCR_WRONG_EXTENSION test, skipping:
[10807] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10807] warn: )
[10807] warn: rules: failed to run FUZZY_OCR_KNOWN_HASH test, skipping:
[10807] warn: (Can't locate object method "dummy_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10807] warn: )
[10807] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
[10807] warn: rules: failed to run FUZZY_OCR test, skipping:
[10807] warn: (Can't locate object method "fuzzyocr_check" via package "Mail::SpamAssassin::PerMsgStatus" at /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 2647.
[10807] warn: )
Any ideas?
Reply With Quote