Skip Menu |

This queue is for tickets about the Image-JpegTran CPAN distribution.

Report information
The Basics
Id: 98482
Status: open
Priority: 0/
Queue: Image-JpegTran

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.02
Fixed in: (no value)



Subject: Bundled Devel/CheckLib does not work for perl 5.18.x and newer
Running "perl Makefile.PL" with a new perl (e.g. 5.20.0) gives the following error: syntax error at inc/Devel/CheckLib.pm line 168, near "$mm_attr_key qw(LIBS INC)" syntax error at inc/Devel/CheckLib.pm line 175, near "}" Global symbol "%args" requires explicit package name at inc/Devel/CheckLib.pm line 179. syntax error at inc/Devel/CheckLib.pm line 183, near "}" syntax error at inc/Devel/CheckLib.pm line 189, near "}" Global symbol "@headers" requires explicit package name at inc/Devel/CheckLib.pm line 196. Global symbol "@defines0" requires explicit package name at inc/Devel/CheckLib.pm line 201. Global symbol "@defines" requires explicit package name at inc/Devel/CheckLib.pm line 203. Global symbol "@libs" requires explicit package name at inc/Devel/CheckLib.pm line 231. Global symbol "@libpaths" requires explicit package name at inc/Devel/CheckLib.pm line 238. Global symbol "@libpaths" requires explicit package name at inc/Devel/CheckLib.pm line 244. Global symbol "@libpaths" requires explicit package name at inc/Devel/CheckLib.pm line 248. syntax error at inc/Devel/CheckLib.pm line 260, near "}" inc/Devel/CheckLib.pm has too many errors. Compilation failed in require at Makefile.PL line 2. BEGIN failed--compilation aborted at Makefile.PL line 2. Simple fix: upgrade the bundled Devel::CheckLib to the latest version.
It shouldn't be needed to bundle Devel::CheckLib at all - just add it to configure-requires metadata (CONFIGURE_REQUIRES in ExtUtils::Makemaker's WriteMakefile options, or see CPAN::Meta::Spec).