I've tried your suggestion, and with the --global flag it does work, but
only if I keep using the global flag, when I just install as user again same
thing happens. Maybe something's wrong with the user package conf.

Unfortunately installing as global requires admin rights and installs the
tools as admins only, so I don't really want to continue using it like that.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Ben Millwood
Sent: Friday, April 16, 2010 20:57
To: Phyx
Cc: Ivan Lazar Miljenovic; [email protected]
Subject: Re: [Haskell-cafe] ghc package problem

On Fri, Apr 16, 2010 at 2:40 PM, Phyx <[email protected]> wrote:
> So same error. This isn't just limited to HSE though, it can't find 
> packages like random,time etc either. Keeps reinstalling them on every
cabal install.

>
C:\Users\Phyx\AppData\Roaming\ghc\i386-mingw32-6.13.20100320\package.conf.d:
>    QuickCheck-2.1.0.3
>    WinDll-0.1.9
>    cpphs-1.11
>    ghc-paths-0.1.0.6
>    haskell-src-exts-1.9.0
>    haskell98-1.0.1.1
>    mtl-1.1.0.2
>    random-1.0.0.2
>    syb-0.1.0.3
>    tar-0.3.1.0
>    time-1.2.0.1

So every package you are having problems with is in your user package list?
Perhaps there is some disagreement in either Cabal or GHC or both as to
where those packages/that package file should be? Perhaps try a cabal
install --global haskell-src-exts and see if that makes a difference, or
attach --user to a configure command.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to