Hi Arjan,

On Mon, Oct 16, 2006 at 03:12:41PM +0200, Arjan Oosting wrote:
> 
> I have a little problem with my Debian HaXml package which won't build
> with the new GHC 6.6 version.

What version of HaXml are you using? I believe 1.13.2 is supposed to be
buildable with 6.6.

>   ghc --make -package base -package-name HaXml $(LIBSRCS)

Is there a .cabal file? If so, did you try building with that?

> This works with ghc 6.4, but with ghc 6.6 this fails at the linking
> stage and in the verbose output I suddenly see:
> 
>   Main.main not exported; not linking.
> 
> I can work around this by dropping the -package-name HaXml when I
> compile the tools, but then it recompiles a lot of the library sources.
> 
> I have also tried a couple of -main-is variations but none seem to help.

I suspect -main-is only changes the module name used for Main, not the
package it is expected to live in.


Thanks
Ian


_______________________________________________
debian-haskell mailing list
[email protected]
http://urchin.earth.li/mailman/listinfo/debian-haskell

Reply via email to