GHC compilation error (re-post).
J. Garrett Morris
jgmorris at cs.pdx.edu
Fri Jan 18 20:53:43 CET 2013
On Fri, Jan 18, 2013 at 11:32 AM, Brandon Allbery <allbery.b at gmail.com> wrote:
> On Fri, Jan 18, 2013 at 1:05 PM, Ben Gamari <bgamari.foss at gmail.com> 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.
Sent from my mail client.
More information about the Glasgow-haskell-users