Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Comment on

by gods
on Feb 11, 2000 at 00:06 UTC ( #3333=superdoc: print w/replies, xml ) Need Help??

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.


In reply to Re^2: Error encountered while installing PDF::OCR2 by bobproct
in thread Error encountered while installing PDF::OCR2 by bobproct

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others having an uproarious good time at the Monastery: (5)
    As of 2016-09-26 06:04 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Extraterrestrials haven't visited the Earth yet because:







      Results (476 votes). Check out past polls.