Perl CPAN Module installieren nicht möglich

H

hoonse

Registriert
Thread Starter
Dabei seit
08.09.2012
Beiträge
1
Reaktionspunkte
0
hallo.

bei vielen fragen habe ich hier im forum antworten gefunden.
heute muss ich mal eine frage stellen.

ich habe vor einiger zeit mit perl angefangen.

heute wollte ich das erste mal ein CPAN modul installieren, aber wie ich es versuche es klappt nicht.
das modul welches ich installieren wollte ist PDF::OCR2

hier die ausgabe des Terminal:

MacBook-Pro:~ Jenkins$ sudo cpan PDF::OCR2
Password:
CPAN: Storable loaded ok (v2.22)
Reading '/Users/Jenkins/.cpan/Metadata'
Database was generated on Sat, 08 Sep 2012 08:19:03 GMT
Running install for module 'PDF::OCR2'
Running make for L/LE/LEOCHARRE/PDF-OCR2-1.21.tar.gz
CPAN: Digest::SHA loaded ok (v5.71)
CPAN: Compress::Zlib loaded ok (v2.055)
Checksum for /Users/Jenkins/.cpan/sources/authors/id/L/LE/LEOCHARRE/PDF-OCR2-1.21.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.88)
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4404)
CPAN: CPAN::Meta loaded ok (v2.112150)
CPAN: Module::CoreList loaded ok (v2.50)

CPAN.pm: Building L/LE/LEOCHARRE/PDF-OCR2-1.21.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite Image::OCR::Tesseract 1.20 not found.
Warning: prerequisite PDF::Burst 1.19 not found.
Warning: prerequisite PDF::GetImages 1.17 not found.
Writing Makefile for PDF::OCR2
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- LEOCHARRE/PDF-OCR2-1.21.tar.gz ----
PDF::Burst [requires]
Image::OCR::Tesseract [requires]
PDF::GetImages [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'PDF::Burst'
Running make for L/LE/LEOCHARRE/PDF-Burst-1.20.tar.gz
Checksum for /Users/Jenkins/.cpan/sources/authors/id/L/LE/LEOCHARRE/PDF-Burst-1.20.tar.gz ok

CPAN.pm: Building L/LE/LEOCHARRE/PDF-Burst-1.20.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite LEOCHARRE::CLI 1.19 not found.
Writing Makefile for PDF::Burst
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- LEOCHARRE/PDF-Burst-1.20.tar.gz ----
LEOCHARRE::CLI [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'LEOCHARRE::CLI'
Running make for L/LE/LEOCHARRE/LEOCHARRE-CLI-1.19.tar.gz
Checksum for /Users/Jenkins/.cpan/sources/authors/id/L/LE/LEOCHARRE/LEOCHARRE-CLI-1.19.tar.gz ok

CPAN.pm: Building L/LE/LEOCHARRE/LEOCHARRE-CLI-1.19.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for LEOCHARRE::CLI
Writing MYMETA.yml and MYMETA.json
cp lib/LEOCHARRE/CLI.pm blib/lib/LEOCHARRE/CLI.pm
Manifying blib/man3/LEOCHARRE::CLI.3pm
LEOCHARRE/LEOCHARRE-CLI-1.19.tar.gz
/usr/bin/make -- OK
CPAN: YAML loaded ok (v0.84)
Running make test
PERL_DL_NONLAZY=1 /opt/local/bin/perl5.12 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0.t .............. 1/? t/0.t, debug sub
t/0.t, [/Users/Jenkins/.cpan/build/LEOCHARRE-CLI-1.19-Wa09WO/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
t/80_usermodetc.t .. 1/? 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.03 usr 0.01 sys + 0.15 cusr 0.02 csys = 0.21 CPU)
Result: FAIL
Failed 1/4 test programs. 0/22 subtests failed.
make: *** [test_dynamic] Error 2
LEOCHARRE/LEOCHARRE-CLI-1.19.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports LEOCHARRE/LEOCHARRE-CLI-1.19.tar.gz
Running make install
make test had returned bad status, won't install without force
Running make for L/LE/LEOCHARRE/PDF-Burst-1.20.tar.gz
Has already been unwrapped into directory /Users/Jenkins/.cpan/build/PDF-Burst-1.20-deyMU_

CPAN.pm: Building L/LE/LEOCHARRE/PDF-Burst-1.20.tar.gz

Warning: Prerequisite 'LEOCHARRE::CLI => 1.19' for 'LEOCHARRE/PDF-Burst-1.20.tar.gz' failed when processing 'LEOCHARRE/LEOCHARRE-CLI-1.19.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited.
CPAN: Time::HiRes loaded ok (v1.9719)
cp lib/PDF/Burst.pod blib/lib/PDF/Burst.pod
cp lib/PDF/Burst.pm blib/lib/PDF/Burst.pm
cp bin/pdfburst blib/script/pdfburst
/opt/local/bin/perl5.12 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/pdfburst
Manifying blib/man3/PDF::Burst.3pm
LEOCHARRE/PDF-Burst-1.20.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /opt/local/bin/perl5.12 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_find_which_burst_works.t .. defined(%hash) is deprecated at lib/PDF/Burst.pm line 311.
(Maybe you should just omit the defined()?)

------------------------------------------------------------

# PDF::Burst, CAM_PDF: pagecount 4
# PDF::Burst, CAM_PDF: abs page will be: '/Users/Jenkins/.cpan/build/PDF-Burst-1.20-deyMU_/t/scan1_page_0001.pdf'..
# PDF::Burst, CAM_PDF: instanced CAM::pDF, will call extractPages() ..
# PDF::Burst, CAM_PDF: calling cleansave()..
# PDF::Burst, CAM_PDF: abs page will be: '/Users/Jenkins/.cpan/build/PDF-Burst-1.20-deyMU_/t/scan1_page_0002.pdf'..
# PDF::Burst, CAM_PDF: instanced CAM::pDF, will call extractPages() ..
# PDF::Burst, CAM_PDF: calling cleansave()..
# PDF::Burst, CAM_PDF: abs page will be: '/Users/Jenkins/.cpan/build/PDF-Burst-1.20-deyMU_/t/scan1_page_0003.pdf'..
# PDF::Burst, CAM_PDF: instanced CAM::pDF, will call extractPages() ..
# PDF::Burst, CAM_PDF: calling cleansave()..
# PDF::Burst, CAM_PDF: abs page will be: '/Users/Jenkins/.cpan/build/PDF-Burst-1.20-deyMU_/t/scan1_page_0004.pdf'..
# PDF::Burst, CAM_PDF: instanced CAM::pDF, will call extractPages() ..
# PDF::Burst, CAM_PDF: calling cleansave()..
count files: 4
t/00_find_which_burst_works.t .. 1/?
------------------------------------------------------------

# PDF::Burst, PDF_API2: /Users/Jenkins/.cpan/build/PDF-Burst-1.20-deyMU_/t/scan1_page_0001.pdf
# PDF::Burst, PDF_API2: /Users/Jenkins/.cpan/build/PDF-Burst-1.20-deyMU_/t/scan1_page_0002.pdf
# PDF::Burst, PDF_API2: /Users/Jenkins/.cpan/build/PDF-Burst-1.20-deyMU_/t/scan1_page_0003.pdf
# PDF::Burst, PDF_API2: /Users/Jenkins/.cpan/build/PDF-Burst-1.20-deyMU_/t/scan1_page_0004.pdf
count files: 4

------------------------------------------------------------

count files: 0
pdftk burst does not work

------------------------------------------------------------

t/00_find_which_burst_works.t .. ok
t/01_burst14.t ................. defined(%hash) is deprecated at lib/PDF/Burst.pm line 311.
(Maybe you should just omit the defined()?)
t/01_burst14.t ................. 1/? # PDF::Burst, CAM_PDF: pagecount 14
# PDF::Burst, CAM_PDF: abs page will be: '/Users/Jenkins/.cpan/build/PDF-Burst-1.20-deyMU_/t/trees14pgs_page_0001.pdf'..
# PDF::Burst, CAM_PDF: instanced CAM::pDF, will call extractPages() ..
Bad request for object 148 at position 0 in the file
Bad request for object 149 at position 0 in the file
Bad request for object 18 at position 0 in the file
Bad request for object 24 at position 0 in the file
............
und so weiter. die ganze ausgabe hatte keinen platz


ich habe xcode installiert und und in xcode die developertools auch.

ich habe auch das installieren anderer CPAN module versucht aber es kommt immer der selbe fehler und ich finde einfach keine Antwort wo mein problem liegt.

ich hoffe ihr könnt mir helfen.

mfg Hoonse
 
Zurück
Oben Unten