
17 Mar
2008
17 Mar
'08
6:20 a.m.
Dusan Kolar
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