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.