Hi Ben and Garrett.

I am logged in as the administrator (full access rights). This problem is quite confusing since I recall using a older version of the GHC (standalone) without any incidents. I have no idea how to solve this particular problem.

Thanks,

~Caitlin




On Fri, Jan 18, 2013 at 11:05 AM, Ben Gamari <bgamari.foss@gmail.com> wrote:
Caitlin <bioprogrammer@gmail.com> writes:

> Hi all.
>
> I wrote the following test program:
>
> bar x = x * x
>
> 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
unambiguous as to its cause. It's a little strange to be placing files
like this in the root directory of a volume, anyways. Perhaps try
this in a directory which you certainly have adequate permissions in
(the Windows equivalent of $HOME perhaps. Wikipedia seems to think this
is %UserProfile%).

Cheers,

- Ben