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

zaxis z_axis at 163.com
Tue May 11 04:10:59 EDT 2010


`ghc-pkg list` finds two random packages.  After `ghc-pkg unregsiter` the one
installed by cabal in ~/.ghc/, all works normally now!

%ghc-pkg list|grep -i random
    random-1.0.0.2


zaxis wrote:
> 
> I have reinstall ghc, xmonad and xmonad-contrib but it still doesnot work!
> 
> %ghc-pkg list|grep xmonad 
>     xmonad-0.9.1
>     xmonad-contrib-0.9.1
> 
> %cat
> /usr/lib/ghc-6.12.1/package.conf.d/xmonad-contrib-0.9.1-e073c906e3b29eb062e632e9bb989664.conf|grep
> LayoutHints
>                  XMonad.Layout.LayoutCombinators XMonad.Layout.LayoutHints
> 
> %ls
> /usr/lib/ghc-6.12.1/site-local/xmonad-contrib-0.9.1/XMonad/Layout/LayoutHints.hi      
> ../site-local/xmonad-contrib-0.9.1/XMonad/Layout/LayoutHints.hi
> 
> LayoutHints is indeed there. But ghc still cannot find it !
> 
> Thanks for your suggestion. i will try #xmonad and xmond mailinglist
> later!
> 
> 
> Ivan Lazar Miljenovic wrote:
>> 
>> zaxis <z_axis at 163.com> writes:
>> 
>>> It seems that it is not a xmonad problem as xmond just call ghc
>>> directly.
>> 
>> Well, yes, except that it might be something else to do with your
>> config, etc. and as such the xmonad mailing list is probably more
>> relevant.
>> 
>> -- 
>> Ivan Lazar Miljenovic
>> Ivan.Miljenovic at gmail.com
>> IvanMiljenovic.wordpress.com
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>> 
>> 
> 
> 


-----
e^(π⋅i) + 1 = 0
-- 
View this message in context: http://old.nabble.com/Why-cannot-ghc-find-a-existng-module---tp28507704p28521179.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list