|
RE: Package Main: msg#00028lang.haskell.glasgow.bugs
> I'm running into a strange problem when I build the X11 > library using current > ghc (built from repository yesterday using gcc 3.2). The > error message I get > is: > > ghc-6.1: unknown package name: Main > > The puzzling bit here is that I am compiling a part of a > library using -c, I > don't mention a package called Main and package.conf doesn't > mention the word > Main. So why does the error message mention Main? 'Main' is the name of the default package. That is, when you don't give a -package-name flag, the module being compiled is assumed to belong to package 'Main'. The 'Main' package usually contains the 'Main' module. I can't tell exactly what's gone wrong, but perhaps you managed to compile a module without a -package-name flag somewhere? Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-721511 ] Non-exhaustive patterns in ParseMonad.hs, SourceForge.net |
|---|---|
| Next by Date: | Templates in ghc-6.0 & --make, Ch. A. Herrmann |
| Previous by Thread: | Package Main, Alastair Reid |
| Next by Thread: | [ ghc-Bugs-748108 ] Unable to build ghc 6.0 (linux with GCC cpp 3.3), SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |