in reply to Re^4: How to install PDF::OCR2 perl module on fedora 10?
in thread How to install PDF::OCR2 perl module on fedora 10?

Looks good Warning: prerequisite CAM::PDF 1.52 not found. Warning: prerequisite File::PathInfo::Ext 1.27 not found. Warning: prerequisite File::Which 0.05 not found. Warning: prerequisite Image::OCR::Tesseract 1.20 not found. Warning: prerequisite LEOCHARRE::CLI2 1.07 not found. Warning: prerequisite LEOCHARRE::Class2 1.19 not found. Warning: prerequisite LEOCHARRE::Debug 1.02 not found. Warning: prerequisite LEOCHARRE::Dir 1.07 not found. Warning: prerequisite PDF::API2 2.015 not found. Warning: prerequisite PDF::Burst 1.19 not found. Warning: prerequisite PDF::GetImages 1.17 not found.

As mentioned in the INSTALL file (third time it's been mentioned to you so far), you need to install these modules. So either install them manually or launch cpan and type:

o conf prerequisites_policy follow o conf commit

Which should install prerequisites for modules when you try to install them, so:

cpan> install PDF::OCR2

Should install these for you. See the CPAN documentation along with Installing Modules from the tutorials section of this site.

Replies are listed 'Best First'.
Re^6: How to install PDF::OCR2 perl module on fedora 10?
by ajju (Initiate) on Nov 29, 2010 at 19:16 UTC
    I typed
    o conf prerequisites_policy follow
    o conf commit
    after launching cpan
    Now i tried
    cpan> install PDF::OCR2
    The following is some of the output i received..
    make: *** Makefile Error 1
    LEOCHARRE/PDF-OCR2-1.20.tar.gz
    /usr/bin/make -- NOT OK
    Warning (usually harmless): 'YAML' not installed, will not
    store persistent state
    Running make test
    Can't test without successful make
    Running make install
    Make had returned bad status, install seems impossible
    Could not read '/root/.cpan/build/Image-OCR-Tesseract-1.24-
    HfZnDG/META.yml'. Falling back to other methods to determine prerequisites
    Failed during this command:
    LEOCHARRE/LEOCHARRE-Dir-1.07.tar.gz : make NO
    ADAMK/Test-Script-1.07.tar.gz :
    writemakefile NO '/usr/bin/perl Makefile.PL' returned status 65280
    ADAMK/File-Which-1.09.tar.gz : make NO
    this is the some of the output...

      Exit cpan and try again. Did you run the o conf commands from within a cpan session? Please post (paste?) exactly what you are seeing on screen. It's hard to try and advise otherwise.

        I exited cpan
        i typed
        cpan PDF::OCR2
        I received the following message
        .....(Starting messages are not pasted here)
        .
        .
        .
        Writing Makefile for File::Find::Rule

        Could not read '/root/.cpan/build/File-Find-Rule-0.32-
        4Cmz_1/META.yml'. Falling
        back to other methods to determine prerequisites
        ---- Unsatisfied dependencies detected during ----
        ---- RCLAMP/File-Find-Rule-0.32.tar.gz ----
        Number::Compare requires
        Running make test
        Delayed until after prerequisites
        Running make install
        Delayed until after prerequisites
        Running install for module 'Number::Compare'
        'YAML' not installed, falling back to Data::Dumper and
        Storable to read prefs '/ root/.cpan/prefs'
        Running make for R/RC/RCLAMP/Number-Compare-0.01.tar.gz
        CPAN: checksum security checks disabled because Digest::SHA not installed.
        Number-Compare-0.01/
        Number-Compare-0.01/MANIFEST
        /bin/tar: Number-Compare-0.01/MANIFEST: time stamp 2002-10-25 10:44:34 is 242364
        02.112882757 s in the future
        Number-Compare-0.01/t/
        Number-Compare-0.01/t/Number-Compare.t
        /bin/tar: Number-Compare-0.01/t/Number-Compare.t: time stamp 2002-10-25 10:46:27
        is 24236515.112389191 s in the future
        Number-Compare-0.01/MANIFEST.SKIP
        /bin/tar: Number-Compare-0.01/t: time stamp 2002-10-25
        10:50:39 is 24236767.1122
        79245 s in the future
        /bin/tar: Number-Compare-0.01/MANIFEST.SKIP: time stamp
        2002-10-25 10:44:34 is 2
        4236402.112134522 s in the future
        Number-Compare-0.01/Compare.pm
        /bin/tar: Number-Compare-0.01/Compare.pm: time stamp 2002-10-25 10:46:27 is 2423
        6515.111950555 s in the future
        Number-Compare-0.01/Changes
        /bin/tar: Number-Compare-0.01/Changes: time stamp 2002-10-25 10:44:34 is 2423640
        2.111782288 s in the future
        Number-Compare-0.01/Makefile.PL
        /bin/tar: Number-Compare-0.01/Makefile.PL: time stamp 2002-10-25 10:44:34 is 242
        36402.111619567 s in the future
        /bin/tar: Number-Compare-0.01: time stamp 2002-10-25
        10:50:39 is 24236767.111415
        55 s in the future
        Warning (usually harmless): 'YAML' not installed, will not store persistent state
        CPAN.pm: Going to build R/RC/RCLAMP/Number-Compare-
        0.01.tar.gz Checking if your kit is complete...
        Looks good
        Writing Makefile for Number::Compare
        make: Warning: File `Makefile.PL' has modification time 2.4e+07 s in the future
        Makefile out-of-date with respect to Makefile.PL
        /usr/lib/perl5/5.10.0/i386-linu
        x-thread-multi/Config.pm /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/conf ig.h
        Cleaning current config before rebuilding Makefile...
        make -f Makefile.old clean > /dev/null 2>&1 /usr/bin/perl Makefile.PL
        Checking if your kit is complete..
        . Looks good
        Writing Makefile for Number::Compare
        ==> Your Makefile has been rebuilt. <==
        ==> Please rerun the make command. <==
        false
        make: *** Makefile Error 1
        RCLAMP/Number-Compare-0.01.tar.gz
        /usr/bin/make -- NOT OK
        Warning (usually harmless): 'YAML' not installed, will not store persistent stat e
        Running make test
        Can't test without successful make
        Running make install
        Make had returned bad status, install seems impossible
        Running make for R/RC/RCLAMP/File-Find-Rule-0.32.tar.gz
        Has already been unwrapped into directory
        /root/.cpan/build/File-Find-Rule-0.3
        2-4Cmz_1
        CPAN.pm: Going to build R/RC/RCLAMP/File-Find-Rule-
        0.32.tar.gz
        Warning: Prerequisite 'Number::Compare => 0' for
        'R/RC/RCLAMP/File-Find-Rule-0.3
        2.tar.gz' failed when processing 'R/RC/RCLAMP/Number-Compare-0.01.tar.gz' with '
        make => NO'. Continuing, but chances to succeed are limited. make: Warning: File `Makefile.PL' has modification time
        2.5e+08 s in the future
        Makefile out-of-date with respect to Makefile.PL
        /usr/lib/perl5/5.10.0/i386-linu
        x-thread-multi/Config.pm /usr/lib/perl5/5.10.0/i386-linux-
        thread-multi/CORE/conf ig.h
        Cleaning current config before rebuilding Makefile...
        make -f Makefile.old clean > /dev/null 2>&1
        /usr/bin/perl Makefile.PL
        Checking if your kit is complete...
        Looks good
        Warning: prerequisite Number::Compare 0 not found.
        Writing Makefile for File::Find::Rule
        ==> Your Makefile has been rebuilt. <==
        ==> Please rerun the make command. <==
        false
        make: *** Makefile Error 1
        RCLAMP/File-Find-Rule-0.32.tar.gz
        /usr/bin/make -- NOT OK
        Warning (usually harmless): 'YAML' not installed, will not store persistent stat e
        Running make test
        Can't test without successful make
        Running make install
        Make had returned bad status, install seems impossible
        Running install for module 'File::Which'
        Running make for A/AD/ADAMK/File-Which-1.09.tar.gz
        Has already been unwrapped into directory
        /root/.cpan/build/File-Which-1.09-wn LXDY
        Could not make: Unknown error
        Warning (usually harmless): 'YAML' not installed, will not store persistent stat e
        Running make test
        Can't test without successful make
        Running make install
        Make had returned bad status, install seems impossible
        Running make for L/LE/LEOCHARRE/PDF-GetImages-1.17.tar.gz
        Has already been unwrapped into directory
        /root/.cpan/build/PDF-GetImages-1.17 -lxtyeC
        CPAN.pm: Going to build L/LE/LEOCHARRE/PDF-GetImages-1.17.tar.gz
        Warning: Prerequisite 'File::Find::Rule => 0.30' for
        'L/LE/LEOCHARRE/PDF-GetImag es-1.17.tar.gz' failed when processing 'R/RC/RCLAMP/File-Find-Rule-0.32.tar.gz'
        with 'make => NO'. Continuing, but chances to succeed are limited.
        Warning: Prerequisite 'File::Which => 0.05' for 'L/LE/LEOCHARRE/PDF-GetImages-1.
        17.tar.gz' failed when processing 'A/AD/ADAMK/File-Which-1.09.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
        make: Warning: File `Makefile.PL' has modification time 2.2e+08 s in the future
        Makefile out-of-date with respect to Makefile.PL
        /usr/lib/perl5/5.10.0/i386-linu x-thread-multi/Config.pm /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/conf ig.h
        Cleaning current config before rebuilding Makefile...
        make -f Makefile.old clean > /dev/null 2>&1
        /usr/bin/perl Makefile.PL
        Checking if your kit is complete...
        Looks good
        Warning: prerequisite File::Find::Rule 0.30 not found.
        Warning: prerequisite File::Which 0.05 not found.
        Writing Makefile for PDF::GetImages
        ==> Your Makefile has been rebuilt. <==
        ==> Please rerun the make command. <==
        false
        make: *** Makefile Error 1
        LEOCHARRE/PDF-GetImages-1.17.tar.gz
        /usr/bin/make -- NOT OK
        Warning (usually harmless): 'YAML' not installed, will not store persistent stat e
        Running make test
        Can't test without successful make
        Running make install
        Make had returned bad status, install seems impossible
        Running make for L/LE/LEOCHARRE/PDF-OCR2-1.20.tar.gz
        Has already been unwrapped into directory
        /root/.cpan/build/PDF-OCR2-1.20-Q7cn
        y1
        CPAN.pm: Going to build L/LE/LEOCHARRE/PDF-OCR2-
        1.20.tar.gz
        Warning: Prerequisite 'LEOCHARRE::Dir => 1.07' for
        'L/LE/LEOCHARRE/PDF-OCR2-1.20
        .tar.gz' failed when processing 'L/LE/LEOCHARRE/LEOCHARRE-Dir-1.07.tar.gz' with
        'make => NO'. Continuing, but chances to succeed are limited.
        Warning: Prerequisite 'File::Which => 0.05' for
        'L/LE/LEOCHARRE/PDF-OCR2-1.20.ta
        r.gz' failed when processing 'A/AD/ADAMK/File-Which-1.09.tar.gz' with 'make => N
        O'. Continuing, but chances to succeed are limited.
        Warning: Prerequisite 'CAM::PDF => 1.52' for
        'L/LE/LEOCHARRE/PDF-OCR2-1.20.tar.g
        z' failed when processing 'C/CD/CDOLAN/CAM-PDF-1.52.tar.gz' with 'make_test => N
        O'. Continuing, but chances to succeed are limited.
        Warning: Prerequisite 'LEOCHARRE::Debug => 1.02' for
        'L/LE/LEOCHARRE/PDF-OCR2-1.
        20.tar.gz' failed when processing 'L/LE/LEOCHARRE/LEOCHARRE-Debug-1.03.tar.gz' w
        ith 'make => NO'. Continuing, but chances to succeed are limited.
        Warning: Prerequisite 'File::PathInfo::Ext => 1.27' for 'L/LE/LEOCHARRE/PDF-OCR2
        -1.20.tar.gz' failed when processing 'L/LE/LEOCHARRE/File-PathInfo-Ext-1.30.tar.
        gz' with 'make => NO'. Continuing, but chances to succeed are limited.
        Warning: Prerequisite 'PDF::API2 => 2.015' for 'L/LE/LEOCHARRE/PDF-OCR2-1.20.tar
        .gz' failed when processing 'A/AR/AREIBENS/PDF-API2-0.73.tar.gz' with 'make => N
        O'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'PDF::Burst => 1.19' for 'L/LE/LEOCHARRE/PDF-OCR2-1.20.tar
        .gz' failed when processing 'L/LE/LEOCHARRE/PDF-Burst-1.19.tar.gz' with 'make =>
        NO'. Continuing, but chances to succeed are limited.
        Warning: Prerequisite 'Image::OCR::Tesseract => 1.20' for 'L/LE/LEOCHARRE/PDF-OC
        R2-1.20.tar.gz' failed when processing
        'L/LE/LEOCHARRE/Image-OCR-Tesseract-1.24.
        tar.gz' with 'writemakefile => NO -- No Makefile created'. Continuing, but chanc
        es to succeed are limited.
        Warning: Prerequisite 'LEOCHARRE::CLI2 => 1.07' for
        'L/LE/LEOCHARRE/PDF-OCR2-1.2
        0.tar.gz' failed when processing 'L/LE/LEOCHARRE/LEOCHARRE-CLI2-1.15.tar.gz' wit h 'make => NO'. Continuing, but chances to succeed are limited.
        Warning: Prerequisite 'LEOCHARRE::Class2 => 1.19' for 'L/LE/LEOCHARRE/PDF-OCR2-1
        .20.tar.gz' failed when processing
        'L/LE/LEOCHARRE/LEOCHARRE-Class2-1.19.tar.gz'
        with 'make => NO'. Continuing, but chances to succeed are limited.
        Warning: Prerequisite 'PDF::GetImages => 1.17' for 'L/LE/LEOCHARRE/PDF-OCR2-1.20
        .tar.gz' failed when processing 'L/LE/
        LEOCHARRE/PDF-GetImages-1.17.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
        make: Warning: File `Makefile.PL' has modification time 2.4e+08 s in the future
        Makefile out-of-date with respect to Makefile.PL /usr/lib/perl5/5.10.0/i386-linu
        x-thread-multi/Config.pm /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/conf
        ig.h Cleaning current config before rebuilding Makefile...
        make -f Makefile.old clean > /dev/null 2>&1
        /usr/bin/perl Makefile.PL
        Checking if your kit is complete..
        . Looks good
        Warning: prerequisite CAM::PDF 1.52 not found.
        Warning: prerequisite File::PathInfo::Ext 1.27 not found.
        Warning: prerequisite File::Which 0.05 not found.
        Warning: prerequisite Image::OCR::Tesseract 1.20 not found.
        Warning: prerequisite LEOCHARRE::CLI2 1.07 not found.
        Warning: prerequisite LEOCHARRE::Class2 1.19 not found.
        Warning: prerequisite LEOCHARRE::Debug 1.02 not found.
        Warning: prerequisite LEOCHARRE::Dir 1.07 not found.
        Warning: prerequisite PDF::API2 2.015 not found.
        Warning: prerequisite PDF::Burst 1.19 not found.
        Warning: prerequisite PDF::GetImages 1.17 not found.
        Writing Makefile for PDF::OCR2
        ==> Your Makefile has been rebuilt. <==
        ==> Please rerun the make command. <==
        false
        make: *** Makefile Error 1
        LEOCHARRE/PDF-OCR2-1.20.tar.gz
        /usr/bin/make -- NOT OK
        Warning (usually harmless): 'YAML' not installed, will not store persistent stat e
        Running make test
        Can't test without successful make
        Running make install
        Make had returned bad status, install seems impossible
        Could not read '/root/.cpan/build/Image-OCR-Tesser act-1.24-8odGu0/META.yml'.
        Fal ling back to other methods to determine prerequisites