Subject: | t/09-cgi.t fails on install |
Date: | Wed, 27 Nov 2013 16:28:04 +0000 |
To: | "bug-PDF-Create [...] rt.cpan.org" <bug-PDF-Create [...] rt.cpan.org> |
From: | Daniel Richards <Daniel.Richards [...] onsemi.com> |
I am using Perl 5.16.0, on Red Hat 5.6. The complete 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-Create-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 package "File::Spec" (perhaps you forgot to load "File::Spec"?) at t/09-cgi.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, 0xff00)
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 cusr 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, try:
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 up to date, so I'm not sure where that's coming from.
Edit: As per the advice of some Perlmonks, I have force installed the module. They say File::Spec is no longer necessary, but it's left in as an artifact from a previous version of something or another.
Daniel Richards
Intern
ON Semiconductor
Corp R&D Integration
Email: daniel.richards@onsemi.com<mailto:daniel.richards@onsemi.com>
Work: 208-233-4690 x6316