logo       

[ ghc-Bugs-681062 ] Confusing Error Message if package-name is omitted: msg#00020

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-681062 ] Confusing Error Message if package-name is omitted

Bugs item #681062, was opened at 2003-02-05 18:09
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=681062&group_id=8032

Category: Driver
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Wolfgang Thaller (wthaller)
Assigned to: Nobody/Anonymous (nobody)
Summary: Confusing Error Message if package-name is omitted

Initial Comment:
I compiled a library as a GHC package without adding the appropriate
package-name flag to the ghc command line.
When trying to compile a module that used the package, ghc complained that it
couldn't find package "Main".

This happens with the HEAD. With GHC 5.04 it (seemingly) was no problem to
leave out the -package-name specifier.

Why is the -package-name flag needed at all?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=681062&group_id=8032


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

News | FAQ | advertise