logo       

Re: ghc-6.2.2: unknown package name: Main (again): msg#00009

lang.haskell.glasgow.bugs

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


Hi Axel,

We are in violent agreement :-)

Greg

On Dec 2, 2004, at 4:05 AM, Axel Simon wrote:

Gregory,

On Wed, 2004-12-01 at 19:07, Gregory Wright wrote:
No, I patched the hsshellscript library distribution to build using

-package-name hsshellscript

as you mentioned. I still got the error. (The documentation
asserts that -package-name is a no-op on unices anyway.
I wonder if that is really still true?)

The name you provide with -package-name must wind up in the .hi files of
the *application* and the library you are compiling. I inadvertently
passed the file name of the package file as package name and it gave me
back the whole file name.

That's why I said that the error message was confusing: I had
already rebuilt using -package-name and still got an error.
I think there was some module in my test application that
was built by 6.2.1 and deleting its object and interface files
fixed the problem. A slight API breakage from 6.2.1 to 6.2.2
isn't all that surprising.

I doubt that it is versionitis. I'm only using the same 6.2.1 compiler
on Solaris.

Axel.


_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



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

News | FAQ | advertise