[Haskell-cafe] Why cannot ghc find a existng module ?

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Tue May 11 05:07:22 EDT 2010


David Virebayre <dav.vire+haskell at gmail.com> writes:

> On Tue, May 11, 2010 at 10:10 AM, zaxis <z_axis at 163.com> wrote:
>
>> `ghc-pkg list` finds two random packages.  After `ghc-pkg unregsiter` the one
>> installed by cabal in ~/.ghc/, all works normally now!
>
> I stopped counting the number of times I've reinstalled GHC because I
> forgot to tell cabal to install a package globally. I really should
> modify the config file.

No, this isn't the problem here.  The problem is that zaxis should
never have installed the second random library in the first place,
because it is a boot library of GHC.

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


More information about the Haskell-Cafe mailing list