[Haskell-cafe] ghc package problem

Phyx lonetiger at gmail.com
Sat Apr 17 17:05:40 EDT 2010


Hi all,

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.

Cheers,
Phyx

-----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-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.
>

--
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list