[Haskell-cafe] ghc package problem
lonetiger at gmail.com
Sat Apr 17 17:05:40 EDT 2010
I was finally able to solve this by deleting the user package.conf.d completely. I think there was some problem with the package.cache file, It must have gotten corrupted somehow.
From: Ivan Lazar Miljenovic [mailto:ivan.miljenovic at gmail.com]
Sent: Saturday, April 17, 2010 00:45
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
> cabal install.
> 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