[Haskell-cafe] ghc package problem

Phyx lonetiger at gmail.com
Fri Apr 16 19:10:06 EDT 2010

Yes I am, I'm running it all as the same user.

-----Original Message-----
From: Ivan Lazar Miljenovic [mailto:ivan.miljenovic at gmail.com] 
Sent: Saturday, April 17, 2010 00:45
To: Phyx
Cc: 'Ben Millwood'; haskell-cafe at haskell.org; daniel.is.fischer at web.de
Subject: Re: [Haskell-cafe] ghc package problem

Stupid question: are you trying to build this package/use ghci as the same user that has haskell-src-exts installed as a user?

"Phyx" <lonetiger at gmail.com> writes:

> 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: thebenmachine at googlemail.com 
> [mailto:thebenmachine at googlemail.com] On Behalf Of Ben Millwood
> Sent: Friday, April 16, 2010 20:57
> To: Phyx
> Cc: Ivan Lazar Miljenovic; haskell-cafe at haskell.org
> Subject: Re: [Haskell-cafe] ghc package problem
> On Fri, Apr 16, 2010 at 2:40 PM, Phyx <lonetiger at gmail.com> 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-
>>    WinDll-0.1.9
>>    cpphs-1.11
>>    ghc-paths-
>>    haskell-src-exts-1.9.0
>>    haskell98-
>>    mtl-
>>    random-
>>    syb-
>>    tar-
>>    time-
> 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.

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list