There is a copy of Carp in the inc directory that is only used for perl 5.8.8 and perl 5.16.x in the Lib/Transform/Proj4/Makefile.PL.
It avoids a perl bug that kills the interpreter there with terminal results to the perl Makefile.PL process.. I expect to remove it once the problem is resolved upstream or it is determined a better work around. We don't actually install anything to do with Carp. This is basically monkey patching things for the moment. --Chris On Wed, Feb 20, 2013 at 10:04 PM, Joel Berger <[email protected]> wrote: > I'm confused, do we bundle Carp.pm? That strikes me as a really bad idea! Only in the limited sense above. > > Joel > > On Wed, Feb 20, 2013 at 8:29 PM, <[email protected]> wrote: >> >> Hi, >> >> As regards 2.4.11_010 on various perls on MS Windows: >> >> The problem with PGPLOT/Window.pm and Filter::Simple still persists. >> >> And, on perl-5.8.8 and perl-5.8.9, the 'perl Makefile.PL' step fails with: >> >> String found where operator expected at inc/Carp.pm line 146, near "$arg >> =~ s/'/\\'" >> Global symbol "$where" requires explicit package name at inc/Carp.pm line >> 118. >> Global symbol "$db_arg" requires explicit package name at inc/Carp.pm line >> 118. >> Global symbol "$db_arg" requires explicit package name at inc/Carp.pm line >> 118. >> Global symbol "$arg" requires explicit package name at inc/Carp.pm line >> 118. >> Global symbol "$arg" requires explicit package name at inc/Carp.pm line >> 118. >> Global symbol "$arg" requires explicit package name at inc/Carp.pm line >> 118. >> Global symbol "$arg" requires explicit package name at inc/Carp.pm line >> 118. >> Global symbol "$arg" requires explicit package name at inc/Carp.pm line >> 118. >> Global symbol "$arg" requires explicit package name at inc/Carp.pm line >> 118. >> Global symbol "$arg" requires explicit package name at inc/Carp.pm line >> 118. >> inc/Carp.pm has too many errors. >> Compilation failed in require at C:/MinGW/perl588/lib/warnings.pm line >> 134. >> BEGIN failed--compilation aborted at C:/MinGW/perl588/lib/warnings.pm line >> 134. >> Compilation failed in require at C:/MinGW/perl588/lib/warnings/register.pm >> line >> 24. >> Compilation failed in require at C:/MinGW/perl588/lib/vars.pm line 7. >> BEGIN failed--compilation aborted at C:/MinGW/perl588/lib/vars.pm line 7. >> Compilation failed in require at inc/Devel/CheckLib.pm line 8. >> BEGIN failed--compilation aborted at inc/Devel/CheckLib.pm line 8. >> Compilation failed in require at Makefile.PL line 2. >> BEGIN failed--compilation aborted at Makefile.PL line 2. >> >> Line 118 contains the // operator which, as we all know, wasn't >> implemented until 5.10.0. >> >> Do we want to modify the code in Carp.pm to make it compatible with 5.8.x >> ? ... or just "up" the minimum perl version required to 5.010 ? >> >> Cheers, >> Rob >> >> _______________________________________________ >> Perldl mailing list >> [email protected] >> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl > > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
