mysterious directory include error
Frederik Eaton
frederik at a5.repetae.net
Mon Sep 12 11:25:12 EDT 2005
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/
More information about the Glasgow-haskell-bugs
mailing list