
Hello all, I'm trying to build HaXML 1.13.3 on Windows using build.bat - I have modified it even on places referred as "should work" (SRCS and OBJS variables); now it works till the last command: ghc-pkg register pkg.conf The error is: 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? Thanks and regards, Dusan

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
participants (2)
-
Dusan Kolar
-
Malcolm Wallace