Subject: | Makefile.PM doesn't list Parse::RecDescent in PREREQ_PM |
Hello,
Because Makefile.PM doesn't list Parse::RecDescent in PREREQ_PM installation from CPAN fails on make test:
Running make test
PERL_DL_NONLAZY=1 /home/ilya/perl-5.8.2-threads/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..1
# Running under perl version 5.008002 for linux
# Current time local: Fri Mar 26 10:59:59 2004
# Current time GMT: Fri Mar 26 07:59:59 2004
# Using Test.pm version 1.24
Can't locate Parse/RecDescent.pm in @INC (@INC contains: blib/lib blib/arch /home/ilya/perl-5.8.2-threads/lib/5.8.2/i686-linux-thread-multi /home/ilya/perl-5.8.2-threads/lib/5.8.2 /home/ilya/perl-5.8.2-threads/lib/site_perl/5.8.2/i686-linux-thread-multi /home/ilya/perl-5.8.2-threads/lib/site_perl/5.8.2 /home/ilya/perl-5.8.2-threads/lib/site_perl .) at blib/lib/Games/Go/SGF.pm line 20.
BEGIN failed--compilation aborted at blib/lib/Games/Go/SGF.pm line 20.
Compilation failed in require at test.pl line 10.
BEGIN failed--compilation aborted at test.pl line 10.
make: *** [test_dynamic] Ошибка 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Patch to fix a problem (I've also corrected AUTHOR field which you didn't fill in):
--- Makefile.PL Sun Sep 30 15:54:46 2001
+++ /home/ilya/Makefile.PL Fri Mar 26 11:05:17 2004
@@ -4,8 +4,8 @@
WriteMakefile(
'NAME' => 'Games::Go::SGF',
'VERSION_FROM' => 'SGF.pm', # finds $VERSION
- 'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
+ 'PREREQ_PM' => { 'Parse::RecDescent' => 0 },
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'SGF.pm', # retrieve abstract from module
- AUTHOR => 'A. U. Thor <a.u.thor@a.galaxy.far.far.away>') : ()),
+ AUTHOR => 'Simon Cozens C<simon@cpan.org>') : ()),
);