GHC compilation error (re-post).

Caitlin bioprogrammer at gmail.com
Fri Jan 18 07:28:44 CET 2013


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.

Thanks,

~Caitlin

C:\>ghci
GHCi, version 7.4.2: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude>
Prelude> :l bar
[1 of 1] Compiling Main             ( bar.hs, interpreted )
*** Exception: CreateDirectory ".": permission denied (Access is denied.)
>
> :l bar.hs
[1 of 1] Compiling Main             ( bar.hs, interpreted )
*** Exception: CreateDirectory ".": permission denied (Access is denied.)
>
> :l "C:\\bar.hs"
[1 of 1] Compiling Main             ( C:\bar.hs, interpreted )
*** Exception: CreateDirectory "C:\\": permission denied (Access is denied.)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20130117/d128fcd3/attachment.htm>


More information about the Glasgow-haskell-users mailing list