Subject: | syntax error in Makefile.PL |
Installing module fails due to a simple syntax error in Makefile.PL.
A patch to fix it is attached.
CPAN.pm: Going to build R/RO/ROODE/Regexp-Common-time-0.02.tar.gz
syntax error at Makefile.PL line 12, near "("
Execution of Makefile.PL aborted due to compilation errors.
Warning: No success on command[/rh62/morespace/local/bin/perl Makefile.PL]
ROODE/Regexp-Common-time-0.02.tar.gz
/rh62/morespace/local/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
ROODE/Regexp-Common-time-0.02.tar.gz : writemakefile NO '/rh62/
morespace/local/bin/perl Makefile.PL' returned status 65280
Subject: | Makefile.PL.patch |
--- Makefile.PL.orig Sun May 25 12:07:56 2008
+++ Makefile.PL Sun May 25 12:05:18 2008
@@ -8,7 +8,7 @@
{
'Test::More' => '0.40',
'POSIX' => 0,
- }
+ },
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/Regexp/Common/time.pm', # retrieve abstract from module
AUTHOR => 'eroode <eroode@barrack.com>') : ()),