[Module::Build] Module::Build V 0.28: Permission denied at d:/Perl/site/lib/Module/Build/Platform/W
Status: Beta
Brought to you by:
kwilliams
From: Ron S. <ro...@sa...> - 2006-05-09 01:39:49
|
Hi Folks Since upgrading from V 0.2611 processing of a bin/ directory has changed. I create a distribution directory for one of my own modules, and in that dir wish to create a distro, with: (%1 = UnitEval-Reporter, %2 = 1.09) cd \perl-modules\%1-%2 rd /q /s x86 md x86 perl Build.PL perl Build etc The current directory contains the bin/ dir which contains 12 *.bat files. Log extract (sorry about the wrap. I've separated the lines): -----><8----- D:\perl-modules\UnitEval-Reporter-1.09>perl Build lib\UnitEval\Reporter\AdminPeriod.pm -> blib\lib\UnitEval\Reporter\AdminPeriod.pm [snip more of same] D:\perl-modules\UnitEval-Reporter-1.09\bin\backup-uer-public-2005-1-images.bat -> blib\script\backup-uer-public-2005-1-images.bat WARNING: Unable to convert file 'blib\script\backup-uer-public-2005-1-images.bat' to an executable script: Can't open blib\script\backup-uer-public-2005-1-images.bat: Permission denied at d:/Perl/site/lib/Module/Build/Platform/Windows.pm line 147. [snip 11 more of same] Manifying blib\lib/UnitEval/Reporter/Report_14.pm -> blib\libdoc\UnitEval.Reporter.Report_14.3 [snip more of same] -----><8----- Here's what I think is happening: The 12 *.bat files I copy into the distribution dir do not have the read-only bit set, but after Module::Build copies them to blib\script\ it sets the read-only bit, and then tries to create a Perl wrapper around the contents of each file, and dies trying to do an in situ update of the read-only file. -- Ron Savage ro...@sa... http://savage.net.au/index.html |