[Haskell-cafe] Building HaXML 1.13.3 on Windows fails

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Mon Mar 17 06:20:13 EDT 2008


Dusan Kolar <kolar at fit.vutbr.cz> wrote:

>   I'm trying to build HaXML 1.13.3 on Windows using build.bat
> 
> $ ghc-pkg register pkg.conf
> Reading package info from "pkg.conf" ... ghc-pkg.exe: Line 68: The
> field  main-is was already defined on line 62
> 
> Taking a look into the pkg.conf says there are several lines main-is. 
> I'm using ghc 6.6 to build the stuff. What shall I do?

Try deleting all of the executable stanzas from the pkg.conf file.  When
the library is being registered with ghc, these are not needed anyway.
(I am not sure why ghc-pkg-6.6 rejects them, rather than ignoring them.)

Regards,
    Malcolm


More information about the Haskell-Cafe mailing list