"ghc-6.2.2: unknown package name: Main" when using --make

Volker Wysk post at volker-wysk.de
Wed Jan 12 00:03:31 EST 2005


On Tuesday 11 January 2005 21:45, Lemmih wrote:
> From the GHC users guide:
> "To compile a module which is to be part of a new package, use the
> -package-name option:
>
> -package-name foo
>
>     This option is added to the command line when compiling a module
> that is destined to be part of package foo. If this flag is omitted
> then the default package Main is assumed."
> It sounds like you forgot that flag when you compiled hsshellscript.

Yes, that's it. Many thanks.

Greetings,
V.W.
-- 
http://www.volker-wysk.de



More information about the Glasgow-haskell-bugs mailing list