
On Fri, Jan 18, 2013 at 11:32 AM, Brandon Allbery
On Fri, Jan 18, 2013 at 1:05 PM, Ben Gamari
wrote: on a Win32 (SP3) machine using the Haskell Platform and GHC-7.6.1 (standalone) and I have noticed the same frustrating errors. Any suggestions would be most appreciated.
Are you certain you have write permission for C:\? I'm not terribly with how Windows handles file permissions, but the error seems pretty
I suspect it's more fundamental than that.
*** Exception: CreateDirectory ".": permission denied (Access is denied.)
Why is it trying to create "."?
You can specify -o<dir> with a directory that doesn't exist; perhaps GHC always tries to create the output directory? In any case, I can confirm the observed behavior with GHC 7.6.1 on Windows 8, running with elevated privilege. It seems to only be a problem in the root directory tho---while I can observe the problem in both C:\ and D:\, I can't in any subdirectories thereof. /g -- Sent from my mail client.