in reply to Re^5: Error encountered while installing PDF::OCR2
in thread Error encountered while installing PDF::OCR2
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Error encountered while installing PDF::OCR2
by marto (Cardinal) on Apr 10, 2013 at 08:34 UTC | |
|
Re^7: Error encountered while installing PDF::OCR2
by Anonymous Monk on Apr 10, 2013 at 08:39 UTC |