Re: CentOS 5 with FuzzyOCR

2007-04-17 Thread JamesDR
Spamassassin List wrote:
 Spamassassin List wrote:
 I am getting some errors when try to spamassassin -t  email.txt

 Subroutine FuzzyOcr::O_CREAT redefined at
 /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19
 Subroutine FuzzyOcr::O_EXCL redefined at
 /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19
 Subroutine FuzzyOcr::O_RDWR redefined at
 /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19

 These seem to be conflicts between the POSIX and Fcntl modules from
 Perl;  not something inherently in FuzzyOcr.  FuzzyOcr's author(s)
 should really look at whether importing these from two places is really
 necessary, however.
 
 Is there anything i can do to fix this?
 
 [4840] warn: FuzzyOcr: Cannot find executable for giffix
 [4840] warn: FuzzyOcr: Cannot find executable for giftext
 [4840] warn: FuzzyOcr: Cannot find executable for gifinter
 [4840] warn: FuzzyOcr: Cannot find executable for ocrad
 [4840] warn: FuzzyOcr: Cannot find executable for tesseract

 Do you have these programs installed?  AFAIK none of the
 graphics-data-munging programs FuzzyOcr uses are actually bundled with
 it.
 
 Other than ocrad, what packages do i need?
 
 thanks and regards
 
 
http://fuzzyocr.own-hero.net/wiki/Installation-3.5.x
Gives a list along with URL's for where to find them
Looks like you're missing:
GifLib and Tesseract OCR (http://sourceforge.net/projects/tesseract-ocr)

The latter (Tesseract OCR) is not listed on the install page as a
dependency.

I'm not sure if there are RPM's of either, I have older systems (FC)
that I had to compile from scratch.
-- 
Thanks,
James



CentOS 5 with FuzzyOCR

2007-04-16 Thread Spamassassin List

Hi,

I am getting some errors when try to spamassassin -t  email.txt

Subroutine FuzzyOcr::O_CREAT redefined at /usr/lib/perl5/5.8.8/Exporter.pm 
line 65.

at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19
Subroutine FuzzyOcr::O_EXCL redefined at /usr/lib/perl5/5.8.8/Exporter.pm 
line 65.

at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19
Subroutine FuzzyOcr::O_RDWR redefined at /usr/lib/perl5/5.8.8/Exporter.pm 
line 65.

at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19

[4840] warn: FuzzyOcr: Cannot find executable for giffix
[4840] warn: FuzzyOcr: Cannot find executable for giftext
[4840] warn: FuzzyOcr: Cannot find executable for gifinter
[4840] warn: FuzzyOcr: Cannot find executable for ocrad
[4840] warn: FuzzyOcr: Cannot find executable for tesseract

Does FuzzyOcr works with CentOS 5?

regards 



Re: CentOS 5 with FuzzyOCR

2007-04-16 Thread Spamassassin List

Have you installed the programs that FuzzyOcr is calling?

rpm -qa ocrad?


Yes i have.

[EMAIL PROTECTED] Spam]# rpm -qa ocrad
ocrad-0.16



Re: CentOS 5 with FuzzyOCR

2007-04-16 Thread Kris Deugau
Spamassassin List wrote:
 I am getting some errors when try to spamassassin -t  email.txt
 
 Subroutine FuzzyOcr::O_CREAT redefined at
 /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19
 Subroutine FuzzyOcr::O_EXCL redefined at
 /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19
 Subroutine FuzzyOcr::O_RDWR redefined at
 /usr/lib/perl5/5.8.8/Exporter.pm line 65.
 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19

These seem to be conflicts between the POSIX and Fcntl modules from
Perl;  not something inherently in FuzzyOcr.  FuzzyOcr's author(s)
should really look at whether importing these from two places is really
necessary, however.

 [4840] warn: FuzzyOcr: Cannot find executable for giffix
 [4840] warn: FuzzyOcr: Cannot find executable for giftext
 [4840] warn: FuzzyOcr: Cannot find executable for gifinter
 [4840] warn: FuzzyOcr: Cannot find executable for ocrad
 [4840] warn: FuzzyOcr: Cannot find executable for tesseract

Do you have these programs installed?  AFAIK none of the
graphics-data-munging programs FuzzyOcr uses are actually bundled with it.

 Does FuzzyOcr works with CentOS 5?

I don't see why not;  unless there are some truly bizarre limitations on
library compatibility Perl is Perl, and binary apps will often run fine
even if not actually compiled on that distro.

-kgd


Re: CentOS 5 with FuzzyOCR

2007-04-16 Thread Spamassassin List

Spamassassin List wrote:

I am getting some errors when try to spamassassin -t  email.txt

Subroutine FuzzyOcr::O_CREAT redefined at
/usr/lib/perl5/5.8.8/Exporter.pm line 65.
at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19
Subroutine FuzzyOcr::O_EXCL redefined at
/usr/lib/perl5/5.8.8/Exporter.pm line 65.
at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19
Subroutine FuzzyOcr::O_RDWR redefined at
/usr/lib/perl5/5.8.8/Exporter.pm line 65.
at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/POSIX.pm line 19


These seem to be conflicts between the POSIX and Fcntl modules from
Perl;  not something inherently in FuzzyOcr.  FuzzyOcr's author(s)
should really look at whether importing these from two places is really
necessary, however.


Is there anything i can do to fix this?


[4840] warn: FuzzyOcr: Cannot find executable for giffix
[4840] warn: FuzzyOcr: Cannot find executable for giftext
[4840] warn: FuzzyOcr: Cannot find executable for gifinter
[4840] warn: FuzzyOcr: Cannot find executable for ocrad
[4840] warn: FuzzyOcr: Cannot find executable for tesseract


Do you have these programs installed?  AFAIK none of the
graphics-data-munging programs FuzzyOcr uses are actually bundled with it.


Other than ocrad, what packages do i need?

thanks and regards 



Re: CentOS 5 with FuzzyOCR

2007-04-16 Thread Mark Martinec
  These seem to be conflicts between the POSIX and Fcntl modules from
  Perl;  not something inherently in FuzzyOcr.  FuzzyOcr's author(s)
  should really look at whether importing these from two places is really
  necessary, however.

 Is there anything i can do to fix this?

It is a cosmetic problem only. If you want to invest some time
into the module, there are plenty of other areas that could
benefit.

  Mark