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

zaxis z_axis at 163.com
Mon May 10 01:09:14 EDT 2010


There is no any complain by ghc-pkg.
%ghc-pkg field xmonad-contrib exposed-modules | grep LayoutHints
                 XMonad.Layout.LayoutCombinators XMonad.Layout.LayoutHints


Ivan Lazar Miljenovic wrote:
> 
> Does "ghc-pkg check" complain?
> 
> Is the version of GHC being used the same one that was used to build
> xmonad-contrib?
> 
> What does "ghc-pkg field xmonad-contrib exposed-modules | grep
> LayoutHints" say?
> 
> On 10 May 2010 14:59, zaxis <z_axis at 163.com> wrote:
>>
>> %pacman -Q|grep xmonad
>> xmonad 0.9.1-4
>> xmonad-contrib 0.9.1-2
>>
>> %%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.
>>
>> %ghc-pkg list|grep xmonad
>>    xmonad-0.9.1
>>    xmonad-contrib-0.9.1
>>
>> %pacman -Ql xmonad-contrib|grep LayoutHints
>> xmonad-contrib
>> /usr/lib/ghc-6.12.1/site-local/xmonad-contrib-0.9.1/XMonad/Layout/LayoutHints.hi
>>
>> Sincerely!
>>
>> -----
>> e^(π⋅i) + 1 = 0
>> --
>> View this message in context:
>> http://old.nabble.com/Why-cannot-ghc-find-a-existng-module---tp28507704p28507704.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---tp28507704p28507747.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list