logo       

RE: ghc-6.2: unknown package name: Main: msg#00024

lang.haskell.glasgow.bugs

Subject: RE: ghc-6.2: unknown package name: Main

On 21 April 2004 15:21, Uwe Schmidt wrote:

> I'm trying to build a package for the Haskell XML Toolbox.
> Everythin works fine with chg-pkg an a local package,
> compilation also works, but when linking the program,
> sometimes all works ok, but using the -O switch or --make switch
> the compiler complains about a package Main.
>
> the Makefile contains the targets.
> the verbose compilation for
>
> make clean all
>
> and
>
> make clean fail
>
> shows the problem.
>
> Is there something wrong with my option setting or is it a problem in
> ghc?

You probably compiled the package without using the -package-name flag.
The error message isn't very helpful; there is a bug open on SourceForge
related to this.

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise