
23 Oct
2008
23 Oct
'08
2:11 p.m.
On Wed, 2008-10-22 at 22:48 -0500, Austin Seipp wrote:
Windows will not let you modify/delete binaries if they're running as a process, and it won't let you delete .DLL files that're in use by applications either (mapped to shared memory, that is.) So cabal install cannot overwrite the cabal.exe binary after it builds it, because it's already running.
I'm not sure anybody's found an adequate solution yet (Duncan?) - .bat files maybe?
Indeed it is a nasty problem. I solved it in cabal-install-0.5.2 using cunning trickery. For details see: http://hackage.haskell.org/trac/hackage/ticket/291 Duncan