Re: [Module::Build] Module::Build doesnt use ExtUtils::Install::pm_to_blib() and then has problems
Status: Beta
Brought to you by:
kwilliams
From: Randy W. S. <ml...@th...> - 2006-04-15 19:08:19
|
demerphq wrote: > Hi, > > I just upgraded to the latest Module::Build dev release on CPAN: 0.27_09 > > I've noticed that for packages where you have both a Makefile.PL and a > Build.PL you get problems if you dont do a 'clean' before switching > from one to the other. > >>From what i can tell this is actually because Module::Build doesnt use > ExtUtils::Install::pm_to_blib() to do the move like MakeMaker does, > but rather rolls its own and has missed out (or deliberately left out) > the logic of making the files in blib read only, and the related task > of unreadonly'ing the target file before doing a refresh copy. This should have been fixed by a change I made earlier this week. You might try the version in repository at: svn co http://svn.perl.org/modules/Module-Build/trunk/ > Although i will admit im curious why EU::I::pm_to_blib() wasnt used. > Is there something wrong with it? Oh, also note that the error message > is somehow missing the $!, it seems to have been lost, not sure why. Hmm, looking at File::Copy, I don't see where it's being lost... Randy. |