|
Re: mysterious directory include error: msg#00038lang.haskell.glasgow.bugs
On Mon, Sep 12, 2005 at 12:46:22PM +0100, Simon Marlow wrote: > On 20 August 2005 22:41, Frederik Eaton wrote: > > > Here is my program: > > > > #!/usr/bin/runghc -i./foo > > main :: IO () > > main = do > > print "hi" > > > > $ runghc --version > > The Glorious Glasgow Haskell Compilation System, version 6.4 > > $ ls foo > > $ ./test.hs > > > > <interactive>:1:85: > > Failed to load interface for `Main': > > Could not find module `Main': > > it is not a module in the current program, or in any known > > package. > > > > Let me know if any more information is needed! > > Works for me with a 6.4.1 snapshot. I've upgraded to 6.4.1.20050903 and it still doesn't work. Did you remember to create the empty directory 'foo'? Of course, I think there are two things wrong: (1) the fact that it doesn't work, (2) the fact that the error message is uninformative. Thanks, Frederik -- http://ofb.net/~frederik/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: runghc takes modules from current working directory, herington, dean |
|---|---|
| Next by Date: | Re: runghc takes modules from current working directory, Frederik Eaton |
| Previous by Thread: | RE: mysterious directory include error, Simon Marlow |
| Next by Thread: | Re: mysterious directory include error, Frederik Eaton |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |