bobproct has asked for the wisdom of the Perl Monks concerning the following question:
Error encountered while installing PDF::OCR2
I'm wanting to install PSDF::OCR2, a module with several dependencies. The one module that seems to be causing problems is PDF::GetImages. Most of the other dependencies have been installed OK. Here are the installed modules.
Roberts-MacBook-Pro:WORK_DIR_XXX rproctor$ instmodsh Name "main::running_under_some_shell" used only once: possible typo at + /usr/bin/instmodsh5.12 line 3. Available commands are: l - List all installed modules m <module> - Select a module q - Quit the program cmd? l Installed modules are: App::cpanminus Bundle::NetSNMP CAM::PDF CPAN::Meta CPAN::Meta::Requirements CPAN::Meta::YAML Crypt::RC4 Devel::Symdump ExtUtils::MakeMaker File::Path File::PathInfo File::PathInfo::Ext File::Type File::Which File::chmod Font::TTF Getopt::Std::Strict IPC::Run3 JSON::PP LEOCHARRE::CLI LEOCHARRE::CLI2 LEOCHARRE::Class2 LEOCHARRE::Debug LEOCHARRE::Dir Linux::usermod Module::Build Module::Metadata PDF::API2 PDF::Burst Parse::CPAN::Meta Perl Perl::OSType Probe::Perl Smart::Comments String::ShellQuote Test::Script Text::PDF Time::Format YAML mod_perl2 version cmd? q Roberts-MacBook-Pro:WORK_DIR_XXX rproctor$ sudo cpan PDF::GetImages
Here is the Console:
Roberts-MacBook-Pro:PDF-GetImages-1.18 rproctor$ cpanm PDF::GetImage /Users/rproctor/.cpanm/build.log: Permission denied at /loader/0x7fb7f +403ffc0/App/cpanminus/script.pm line 202. Roberts-MacBook-Pro:PDF-GetImages-1.18 rproctor$ sudo cpanm PDF::GetIm +age Password: ! Finding PDF::GetImage on cpanmetadb failed. ! Finding PDF::GetImage on search.cpan.org failed. ! Finding PDF::GetImage on mirror http://search.cpan.org/CPAN failed. ! Couldn't find module or a distribution PDF::GetImage Roberts-MacBook-Pro:PDF-GetImages-1.18 rproctor$ sudo cpanm PDF::GetIm +ages --> Working on PDF::GetImages Fetching http://search.cpan.org/CPAN/authors/id/L/LE/LEOCHARRE/PDF-Get +Images-1.18.tar.gz ... OK Configuring PDF-GetImages-1.18 ... N/A ! Configure failed for PDF-GetImages-1.18. See /Users/rproctor/.cpanm/ +build.log for details. Roberts-MacBook-Pro:PDF-GetImages-1.18 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/1365358841.74179 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 PDF::GetImages on cpanmetadb ... --> Working on PDF::GetImages Fetching http://search.cpan.org/CPAN/authors/id/L/LE/LEOCHARRE/PDF-Get +Images-1.18.tar.gz -> OK Unpacking PDF-GetImages-1.18.tar.gz Entering PDF-GetImages-1.18 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64) Configuring PDF-GetImages-1.18 Running Makefile.PL Cannot find pdfimages executable. -> N/A -> FAIL Configure failed for PDF-GetImages-1.18. See /Users/rproctor/. +cpanm/build.log for details.
Any suggestions for fixing this problem?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Error encountered while installing PDF::OCR2
by marto (Cardinal) on Apr 07, 2013 at 21:45 UTC | |
by bobproct (Initiate) on Apr 09, 2013 at 01:57 UTC | |
by marto (Cardinal) on Apr 09, 2013 at 04:02 UTC | |
by bobproct (Initiate) on Apr 09, 2013 at 12:30 UTC | |
by marto (Cardinal) on Apr 09, 2013 at 12:41 UTC | |
| |
by hdb (Monsignor) on Apr 09, 2013 at 12:36 UTC |
Back to
Seekers of Perl Wisdom