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

zaxis z_axis at 163.com
Mon May 10 02:49:13 EDT 2010


It seems that it is not a xmonad problem as xmond just call ghc directly.

%cd ~/.xmonad
%ghc --make xmonad.hs    

xmonad.hs:20:7:
    Could not find module `XMonad.Layout.LayoutHints':
      Use -v to see a list of the files searched for.


Ivan Lazar Miljenovic wrote:
> 
> I suggest you either go on #xmonad and ask the people there, or send
> an email to the xmonad mailing list with your config attached.
> 
> On 10 May 2010 15:37, zaxis <z_axis at 163.com> wrote:
>>
>> %rm ~/.xmonad/xmonad.{hi,o}
>> %ls ~/.xmonad
>> history  xmonad-i386-linux*  xmonad.errors  xmonad.hs
>> %xmonad --recompile
>> Error detected while loading xmonad configuration file:
>> /home/sw2wolf/.xmonad/xmonad.hs
>>
>> xmonad.hs:20:7:
>>    Could not find module `XMonad.Layout.LayoutHints':
>>      Use -v to see a list of the files searched for.
>>
>> Please check the file for errors.
>>
>>
>> Ivan Lazar Miljenovic wrote:
>>>
>>> (Note that this really should be on the xmonad mailing list, but
>>> anyway...).
>>>
>>> On 10 May 2010 15:09, zaxis <z_axis at 163.com> wrote:
>>>>
>>>> There is no any complain by ghc-pkg.
>>>> %ghc-pkg field xmonad-contrib exposed-modules | grep LayoutHints
>>>>                 XMonad.Layout.LayoutCombinators
>>>> XMonad.Layout.LayoutHints
>>>>
>>>
>>> Try "rm ~/.xmonad/xmonad.{hi,o}" and then xmonad --recompile again.
>>>
>>> --
>>> 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---tp28507704p28507878.html
>> Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
> 
> 
> 
> -- 
> 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---tp28507704p28508239.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list