Skip Menu |

This queue is for tickets about the PDF-Create CPAN distribution.

Report information
The Basics
Id: 59169
Status: resolved
Priority: 0/
Queue: PDF-Create

People
Owner: MARKUSB [...] cpan.org
Requestors: MARKUSB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in:
  • 1.05
  • 1.06
Fixed in: (no value)



Subject: test 09-cgi.t broken with old perl in path
From: MARKUSB [...] cpan.org
Can't locate Data/Dumper.pm in @INC (@INC contains: lib ../lib /usr/people/drc/cpantesting/perl-5.8.8/.cpan/build/PDF-Create-1.06-UtCWYX/blib/lib /usr/people/drc/cpantesting/perl-5.8.8/.cpan/build/PDF-Create-1.06-UtCWYX/blib/arch /usr/share/lib/perl5/irix-n32/5.00405 /usr/share/lib/perl5 /usr/share/lib/perl5/site_perl/irix-n32 /usr/share/lib/perl5/site_perl /usr/share/lib/perl5/sgi_perl .) at lib/PDF/Create/Page.pm line 23. BEGIN failed--compilation aborted at lib/PDF/Create/Page.pm line 23. BEGIN failed--compilation aborted at lib/PDF/Create.pm line 19. BEGIN failed--compilation aborted at t/09-cgi-script.pl line 10.
We need to run the cgi with the perl from config. Otherwise we'll pick up the first perl from $PATH, which might not be the one we want/need. Line 24 becomes: ok( !system(qq($Config{"perlpath"} $cginame | $Config{"perlpath"} -n -e "print if \$. > 2" >$pdfname)), "CGI executes" );
Seems to be fixed in 1.07, thanks for reporting and please check.