Re: [Haskell-cafe] Building HaXML 1.13.3 on Windows fails

2008-03-17 Thread Malcolm Wallace
Dusan Kolar [EMAIL PROTECTED] 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
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Building HaXML 1.13.3 on Windows fails

2008-03-17 Thread Dusan Kolar

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

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe