Re: [Module::Build] ./Build on Win98
Status: Beta
Brought to you by:
kwilliams
|
From: demerphq <dem...@gm...> - 2006-02-23 10:40:48
|
On 2/22/06, Nick Ing-Simmons <ni...@in...> wrote: > Randy W. Sims <Ra...@Th...> writes: > >> C:\cpanplus\5.8.2\build\Module-Build>Build realclean > >> Deleting pod2htmd.tmp > >> Deleting pod2htmi.tmp > >> Deleting blib > >> Deleting _build > >> Deleting Build > >> > >> Then there is an NLS message about the right way to call START. > >> And Build.bat is still there. > > > >Ok, this looks like the source of at least some of the problem. I've > >uploaded a new tarball to the same location: > > > > <http://thepierianspring.org/perl/Module-Build.tar.gz> > > > >Could you try it again with the commands > > > > perl Build.PL > > Build realclean > > > >Does it still outputs an error? Is the 'Build.bat' file still there? If > >so, I'll have to find the docs for the start command and for > >command.com. Could you post them? > > Build.bat cannot delete itself on Windows. > You can't delete executing things. This is why Windows needs to > reboot after installing upgrades. > A running thing can ask for a delete on next reboot, but cannot delete > an open file. This is wrong. Batch files most certainly can delete themselves on NT/W2k and etc. I believe that the command processor opens the file, reads a line, does a tell, closes the file then executes the line then when control returns reopens and seeks then reads again. Suffice it to say that i tested whether a batchfile along the lines of del self.bat echo foo could succesffully self delete. Yves -- perl -Mre=3Ddebug -e "/just|another|perl|hacker/" |