logo       

Re: mysterious directory include error: msg#00038

lang.haskell.glasgow.bugs

Subject: Re: mysterious directory include error

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>
Google Custom Search

News | FAQ | advertise