On 6 Jan 2004 at 17:09, Alan Stewart wrote: > I changed par_env_clean to !par_env_clean in mktmpdir.c and I get the right type of > dirs with the right type of clean/not clean, but now if I try to run two > simultaneous > copies of a Tk program without clean/with mtime dir, I get this error on the second > copy: > > Permission denied at ../blib/lib/PAR/Heavy.pm line 127. > Compilation failed in require at Tk.pm line 13. > BEGIN failed--compilation aborted at Tk.pm line 13. > Compilation failed in require at script/t.pl line 3. > BEGIN failed--compilation aborted at script/t.pl line 3. > Can't locate auto/Tk/Event/CleanupGlue.al in @INC (@INC contains: > CODE(0x13a8f68)CODE(0x1428570) .) > at Tk/Event.pm line 3 > END failed--call queue aborted. > > Two runs one after the other is fine. Two simultaneous copies with clean is OK. >
Seems to be a Tk problem only. This small program has the same problem with the second copy trying to run: use Tk; my $mw = MainWindow->new(); MainLoop; The cache directory does contain Event.dll, but it doesn't seem to find it/load it, so it goes looking for the .al file. Simultaneous non-Tk non-clean programs work for me. Alan Stewart
