Subject: | 'nmake ppd' fails; Build requires codebase argument |
I'm installing Log-Dispatch 2.10 on Windows XP using ActiveState Perl 5.6.1 and PPM3. Following the directions in the ActiveState documentation to create a PPD file, I've done:
Show quoted text
> perl Makefile.PL
> nmake
> tar cvf Log-Dispatch-2.10.tar blib
> gzip --best Log-Dispatch-2.10.tar
> nmake ppd
The last command produces this output:
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
C:\Perl\bin\perl.exe Build ppd
Cannot create a PPD file unless codebase argument is given
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff'
Stop.
I've modified the Makefile produced by perl Makefile.PL so that the lines referring to the ppd target are as follows:
ppd : force_do_it
C:\Perl\bin\perl.exe Build ppd codebase=Log-Dispatch-2.10.tar.gz
This allows Log::Dispatch to install without complaint, but I don't know how to get Module::Build to do this by default, nor do I know whether this is a bug in the Log::Dispatch distribution or in Module::Build itself. If the latter, let me know and I will be happy to report this to the Module::Build author.
Mike