ric00015 has asked for the wisdom of the Perl Monks concerning the following question:
I am exploring options on how to create a document from Perl. Some of the options were to create a Word document (but I hear that sucks, partially because there is no real standard for their formats); RTF (as an alternative for the .doc); or LaTex to create a PDF. I happened to come across PDF::Create on CPAN (to see if I can bypass latex), but it won't even install. I am coming here to see if this is a bug, or if I'm just doing something wrong.
I am using Perl 5.16.0, on Red Hat 5.6. The complete error output is as follows:
Writing /home/fg4y8n/.cpan/Metadata Running install for module 'PDF::Create' Running make for M/MA/MARKUSB/PDF-Create-1.06.tar.gz Checksum for /home/fg4y8n/.cpan/sources/authors/id/M/MA/MARKUSB/PDF-Cr +eate-1.06.tar.gz ok Scanning cache /home/fg4y8n/.cpan/build for sizes ...................................................................... +......DONE CPAN.pm: Building M/MA/MARKUSB/PDF-Create-1.06.tar.gz Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'PDF-Create' version '1.06' Building PDF-Create MARKUSB/PDF-Create-1.06.tar.gz ./Build -- OK Running Build test t/01-basic.t .......... ok t/02-string.t ......... ok t/03-image.t .......... ok t/04-drawing.t ........ ok t/05-outline.t ........ ok t/06-annotation.t ..... ok t/07-fonts.t .......... ok t/09-cgi.t ............ Can't locate object method "catfile" via packa +ge "File::Spec" (perhaps you forgot to load "File::Spec"?) at t/09-cg +i.t line 19. # Looks like your test exited with 255 before it could output anything +. t/09-cgi.t ............ Dubious, test returned 255 (wstat 65280, 0xff0 +0) Failed 2/2 subtests t/99-wifi-parabola.t .. ok Test Summary Report ------------------- t/09-cgi.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=9, Tests=119, 1 wallclock secs ( 0.06 usr 0.02 sys + 0.50 cus +r 0.09 csys = 0.67 CPU) Result: FAIL Failed 1/9 test programs. 0/119 subtests failed. MARKUSB/PDF-Create-1.06.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports MARKUSB/PDF-Create-1.06.tar.gz Running Build install make test had returned bad status, won't install without force Failed during this command: MARKUSB/PDF-Create-1.06.tar.gz : make_test NO
File::Spec is installed and is up to date, so I’m not sure where that’s coming from.
P.S. Any advice on creating a document would be appreciated as well.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PDF::Create fails on install
by monkey_boy (Priest) on Nov 26, 2013 at 23:29 UTC | |
by DrHyde (Prior) on Nov 27, 2013 at 11:29 UTC | |
by MidLifeXis (Monsignor) on Nov 27, 2013 at 14:25 UTC | |
by DrHyde (Prior) on Nov 28, 2013 at 12:02 UTC | |
by ric00015 (Beadle) on Nov 26, 2013 at 23:55 UTC |