[Gtk-sharp-list] Gtk# build issues

Duncan Mak duncan@ximian.com
27 Oct 2002 01:35:41 -0400


I'm repeatedly getting errors in the Xml stuff with CVS gtk-sharp:

make[1]: Entering directory `/home/duncan/Mono/gtk-sharp/api'
mono  ../generator/gapi_codegen.exe --generate atk-api.xml pango-api.xml
gdk-api.xml gdk-symbols.xml gtk-api.xml gtk-symbols.xml glade-api.xml
art-api.xml gnome-api.xml gda-api.xml gnomedb-api.xml && touch

Unhandled Exception: System.ArgumentException: Key duplication
in <0x002e9> 00 System.Collections.Hashtable:PutImpl
in <0x00018> 00 System.Collections.Hashtable:Add (object,object)
in <0x00119> 00 System.Text.RegularExpressions.Syntax.Parser:GetMapping
in <0x000b3> 00 System.Text.RegularExpressions.Regex:.ctor
in <0x00038> 00 System.Xml.XmlDeclaration:get_XmlDeclRegex ()
in <0x00016> 00 System.Xml.XmlDeclaration:ParseInput (string)
in <0x00010> 00 System.Xml.XmlDeclaration:set_Value (string)
in <0x0040e> 00 System.Xml.XmlNode:ConstructDOM
in <0x00035> 00 System.Xml.XmlDocument:Load (System.Xml.XmlReader)
in <0x0006b> 00 System.Xml.XmlDocument:Load (string)
in <0x0004e> 00 GtkSharp.Generation.Parser:.ctor (string)
in <0x0011a> 00 GtkSharp.Generation.CodeGenerator:Main (string[])

duncan:~/Mono/mcs/class/System.XML $ ls -l /usr/lib/System.Xml.dll
-rw-r--r--    1 root  root  394k Oct 27 01:33 /usr/lib/System.Xml.dll

I'm pretty sure I've the latest Xml stuff, I dunno why this is
happening, I thought this was fixed.

Gotta wake up early to fly back to Boston tomorrow, g'night!

Duncan Mak <duncan@ximian.com>