I'm wanting to install PDF::OCR2. I got past the previous problem. Thanks
very much to marto for mentioning my oversight of the Xpdf dependency.
I'm running on a Retina MacBook Pro (MacBookPro10,1) 16 GB with OS X 10.8.3.
Now I'm having a problem installing the Image::OCR::Tesseract dependency.
Here is my console:
Roberts-MacBook-Pro:Perl_Modules rproctor$ sudo cpanm PDF::OCR2
Password:
--> Working on PDF::OCR2
Fetching http://search.cpan.org/CPAN/authors/id/L/LE/LEOCHARRE/PDF-OCR
+2-1.21.tar.gz ... OK
Configuring PDF-OCR2-1.21 ... OK
==> Found dependencies: Image::OCR::Tesseract
--> Working on Image::OCR::Tesseract
Fetching http://search.cpan.org/CPAN/authors/id/L/LE/LEOCHARRE/Image-O
+CR-Tesseract-1.24.tar.gz ... OK
Configuring Image-OCR-Tesseract-1.24 ... N/A
! Configure failed for Image-OCR-Tesseract-1.24. See /Users/rproctor/.
+cpanm/build.log for details.
! Bailing out the installation for PDF-OCR2-1.21. Retry with --prompt
+or --force.
Roberts-MacBook-Pro:Perl_Modules rproctor$
Here is the build.log file
cpanm (App::cpanminus) 1.4008 on perl 5.012004 built for darwin-thread
+-multi-2level
Work directory is /Users/rproctor/.cpanm/work/1365451076.5809
You have make /usr/bin/make
You have LWP 6.03
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching Image::OCR::Tesseract on cpanmetadb ...
--> Working on Image::OCR::Tesseract
Fetching http://search.cpan.org/CPAN/authors/id/L/LE/LEOCHARRE/Image-O
+CR-Tesseract-1.24.tar.gz
-> OK
Unpacking Image-OCR-Tesseract-1.24.tar.gz
Entering Image-OCR-Tesseract-1.24
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64)
Configuring Image-OCR-Tesseract-1.24
Running Makefile.PL
Cannot find convert executable.
-> N/A
-> FAIL Configure failed for Image-OCR-Tesseract-1.24. See /Users/rpro
+ctor/.cpanm/build.log for details.
I looked around but didn't find any clue on whereabouts of 'convert'.
Any suggestions for fixing this problem? Thanks.
|