Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

I'm wanting to install PSDF::OCR2. Thanks very much to marto for helping.

ImageMagick is now installed. I don't get the message about the missing convert executable any more

I see LEOCHARRE::CLI in installed modules but it must be defective because it's being re-built, and then it fails.

Installed modules

Roberts-MacBook-Pro:~ rproctor$ sudo instmodsh Password: Available commands are: l - List all installed modules m <module> - Select a module q - Quit the program cmd? l Installed modules are: CPAN::Meta::Requirements CPAN::Meta::YAML Devel::Symdump ExtUtils::MakeMaker File::Find::Rule File::Type File::Which File::chmod Font::TTF Getopt::Std::Strict IPC::Run3 JSON::PP LEOCHARRE::CLI LEOCHARRE::DEBUG LEOCHARRE::Debug LEOCHARRE::Dir Linux::usermod Locale::gettext Mac::Pasteboard Number::Compare PDF::Burst Perl Perl::OSType Probe::Perl Smart::Comments String::ShellQuote Test::Script Text::Glob Time::Format YAML version cmd? q Roberts-MacBook-Pro:~ rproctor$

Here is my console:

Roberts-MacBook-Pro:~ rproctor$ sudo cpanm Image::OCR::Tesseract Password: --> 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 ... OK ==> Found dependencies: LEOCHARRE::CLI --> Working on LEOCHARRE::CLI Fetching http://search.cpan.org/CPAN/authors/id/L/LE/LEOCHARRE/LEOCHAR +RE-CLI-1.19.tar.gz ... OK Configuring LEOCHARRE-CLI-1.19 ... OK Building and testing LEOCHARRE-CLI-1.19 ... FAIL ! Installing LEOCHARRE::CLI failed. See /Users/rproctor/.cpanm/build.l +og for details. ! Bailing out the installation for Image-OCR-Tesseract-1.24. Retry wit +h --prompt or --force. Roberts-MacBook-Pro:~ 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/1365523347.84727 You have make /usr/bin/make You have /usr/bin/curl 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 Warning: prerequisite LEOCHARRE::CLI 1.19 not found. Checking if your kit is complete... Looks good Writing Makefile for Image::OCR::Tesseract Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.yml ... Finding PREREQ from Makefile ... Checking if you have LEOCHARRE::CLI 1.19 ... No Checking if you have File::Find::Rule 0.30 ... Yes (0.33) Checking if you have File::Copy 2.09 ... Yes (2.18) Checking if you have File::Spec 3.29 ... Yes (3.31_01) Checking if you have File::Which 0.05 ... Yes (1.09) Checking if you have Test::Simple 0 ... Yes (0.94) Checking if you have Exporter 5 ... Yes (5.64_01) Checking if you have String::ShellQuote 0 ... Yes (1.04) Checking if you have Carp 1 ... Yes (1.17) Checking if you have File::Path 2.07 ... Yes (2.08_01) Checking if you have Cwd 3 ... Yes (3.31) Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64) Checking if you have File::Find::Rule 0.30 ... Yes (0.33) Checking if you have File::Copy 2.09 ... Yes (2.18) Checking if you have File::Spec 3.29 ... Yes (3.31_01) Checking if you have File::Which 0.05 ... Yes (1.09) Checking if you have Test::Simple 0 ... Yes (0.94) Checking if you have Exporter 5 ... Yes (5.64_01) Checking if you have String::ShellQuote 0 ... Yes (1.04) Checking if you have Carp 1 ... Yes (1.17) Checking if you have File::Path 2.07 ... Yes (2.08_01) Checking if you have Cwd 3 ... Yes (3.31) ==> Found dependencies: LEOCHARRE::CLI Searching LEOCHARRE::CLI on cpanmetadb ... --> Working on LEOCHARRE::CLI Fetching http://search.cpan.org/CPAN/authors/id/L/LE/LEOCHARRE/LEOCHAR +RE-CLI-1.19.tar.gz -> OK Unpacking LEOCHARRE-CLI-1.19.tar.gz Entering LEOCHARRE-CLI-1.19 Checking configure dependencies from META.yml Configuring LEOCHARRE-CLI-1.19 Running Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for LEOCHARRE::CLI Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.yml ... Finding PREREQ from Makefile ... Checking if you have YAML 0 ... Yes (0.84) Checking if you have Getopt::Std 0 ... Yes (1.06) Checking if you have File::Which 0 ... Yes (1.09) Checking if you have Linux::usermod 0 ... Yes (0.69) Checking if you have File::chmod 0 ... Yes (0.32) Checking if you have LEOCHARRE::DEBUG 0 ... Yes (1.14) Checking if you have Carp 0 ... Yes (1.17) Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64) Checking if you have YAML 0 ... Yes (0.84) Checking if you have Getopt::Std 0 ... Yes (1.06) Checking if you have File::Which 0 ... Yes (1.09) Checking if you have Linux::usermod 0 ... Yes (0.69) Checking if you have File::chmod 0 ... Yes (0.32) Checking if you have Carp 0 ... Yes (1.17) Checking if you have LEOCHARRE::DEBUG 0 ... Yes (1.14) Building and testing LEOCHARRE-CLI-1.19 cp lib/LEOCHARRE/CLI.pm blib/lib/LEOCHARRE/CLI.pm Manifying blib/man3/LEOCHARRE::CLI.3pm PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/0.t, debug sub t/0.t, [/Users/rproctor/.cpanm/work/1365523347.84727/LEOCHARRE-CLI-1.1 +9/t/0.conf] does not exist. at lib/LEOCHARRE/CLI.pm line 283. t/0.t .............. ok t/5_whoami.t ....... ok t/7_tmpdir.t ....... ok No such file or directory at lib/LEOCHARRE/CLI.pm line 69 # Looks like your test exited with 2 just after 3. t/80_usermodetc.t .. Dubious, test returned 2 (wstat 512, 0x200) All 3 subtests passed Test Summary Report ------------------- t/80_usermodetc.t (Wstat: 512 Tests: 3 Failed: 0) Non-zero exit status: 2 Files=4, Tests=22, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.14 cusr + 0.02 csys = 0.19 CPU) Result: FAIL Failed 1/4 test programs. 0/22 subtests failed. make: *** [test_dynamic] Error 2 -> FAIL Installing LEOCHARRE::CLI failed. See /Users/rproctor/.cpanm/b +uild.log for details. -> FAIL Bailing out the installation for Image-OCR-Tesseract-1.24. Ret +ry with --prompt or --force.

Any suggestions for fixing this problem?


In reply to Re^6: 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!
  • 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
  • Outside of code tags, you may need to use entities for some characters:
            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 about the Monastery: (7)
    As of 2014-09-18 10:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (110 votes), past polls