|
RE: search path wierdness: msg#00023lang.haskell.glasgow.bugs
On 08 January 2005 04:34, Duncan Coutts wrote: > On Fri, 2005-01-07 at 19:52 +0000, Duncan Coutts wrote: >> However when building some files, eg >> gtk/Graphics/UI/Gtk/Abstract/Object.hs >> ghc does not look in the right places for .hi files. > > I think I figured out what was happening, so let me retract my bug > report and instead ask for some friendly error message to help me from > shooting myself in the foot! > > My example was that gtk/Graphics/UI/Gtk/Abstract/Object.hs imported > gtk/Graphics/UI/Gtk/General/Signals.hs > > However gtk/Graphics/UI/Gtk/General/Signals.hs actually said: > module Signal where > > rather than > module Graphics.UI.Gtk.General.Signals where > > Now presumably the gtk/Graphics/UI/Gtk/General/Signals.hi file > remembers the module name. So ghc reads the module name from > gtk/Graphics/UI/Gtk/General/Signals.hi and then for some reason looks > for Signal.hi which of course it cannot find. I don't quite follow. When compiling gtk/Graphics/UI/Gtk/General/Signals.hs did you specify -ohi gtk/Graphics/UI/Gtk/General/Signals.hi? I agree it looks like a warning should have gone off earlier, but I can't tell exactly where yet. Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [Fwd: bug in argument processing in hsc2hs], Antony Courtney |
|---|---|
| Next by Date: | Re: search path wierdness, Malcolm Wallace |
| Previous by Thread: | Re: search path wierdness, Duncan Coutts |
| Next by Thread: | Re: search path wierdness, Malcolm Wallace |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |