ghc-6.2.2: unknown package name: Main (again)

Gregory Wright gwright at comcast.net
Tue Nov 30 22:46:19 EST 2004


Hi,

Using ghc-6.2.2 on Mac OS X 10.3.6, I've found another instance
of the "unknown package name: Main"  problem mentioned last April.
When I build my program I see:

crossroads-able> ghc --make -package hsshellscript -o asgraph asgraph.hs
Chasing modules from: asgraph.hs
Skipping  Reformat         ( ./Reformat.hs, ./Reformat.o )
Skipping  Main             ( asgraph.hs, asgraph.o )
Linking ...
ghc-6.2.2: unknown package name: Main


However, building the package (hsshellscript) with the additional
option

	-package-name hsshellscript

doesn't fix the problem; the error message persists.

Has anyone else noticed this probelm? Is it specific to OS X?

Best Wishes,
Greg




More information about the Glasgow-haskell-bugs mailing list