This error because of parser.py Conflict with python builtin module parser. when "import parser" in codegen_main.py cause error. so I rename parser.py to xxparser.py then, modify codegen_main.py, replace "parser" with "xxparser", compile succeed!
good luck! 2011/8/18 <gtk-devel-list-requ...@gnome.org> > Send gtk-devel-list mailing list submissions to > gtk-devel-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.gnome.org/mailman/listinfo/gtk-devel-list > or, via email, send a message with subject or body 'help' to > gtk-devel-list-requ...@gnome.org > > You can reach the person managing the list at > gtk-devel-list-ow...@gnome.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gtk-devel-list digest..." > > > Today's Topics: > > 1. Re: make glib-2.29.16 fails on codegen_main.py (George Brink) > 2. Re: make glib-2.29.16 fails on codegen_main.py (Dieter Verfaillie) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 17 Aug 2011 17:40:55 -0400 > From: George Brink <siberian...@yahoo.com> > To: gtk-devel-list@gnome.org > Subject: Re: make glib-2.29.16 fails on codegen_main.py > Message-ID: <j2hch8$s94$1...@dough.gmane.org> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 8/16/2011 3:31 PM, Dieter Verfaillie wrote: > > You seem to be hitting the same stuff I have already encountered, > > so you might also be interested in my windows branch here: > > https://github.com/dieterv/glib/tree/windows > > Yes, I am trying to build GTK+3 on Windows... without any luck for now. > > Your branch also is not very easy to use. You did not published ready to > use configure script, and automake from MSYS does show a lot of errors > while attempting to make a new configure. > > > > ------------------------------ > > Message: 2 > Date: Thu, 18 Aug 2011 09:21:54 +0200 > From: "Dieter Verfaillie" <diet...@optionexplicit.be> > To: "George Brink" <siberian...@yahoo.com> > Cc: gtk-devel-list@gnome.org > Subject: Re: make glib-2.29.16 fails on codegen_main.py > Message-ID: <20110818092154.17612la93j6al...@webmail.linuxsystems.be> > Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; > format="flowed" > > Quoting "George Brink" <siberian...@yahoo.com>: > > > On 8/16/2011 3:31 PM, Dieter Verfaillie wrote: > >> You seem to be hitting the same stuff I have already encountered, > >> so you might also be interested in my windows branch here: > >> https://github.com/dieterv/glib/tree/windows > > > > Yes, I am trying to build GTK+3 on Windows... without any luck for now. > > Hang in there, it's possible. Have had it working (even with > introspection support) for some time now. The mswindows theme engine > is broken though... > > > Your branch also is not very easy to use. You did not published > > ready to use configure script, and automake from MSYS does show a > > lot of errors while attempting to make a new configure. > > Well, it's a branch, not a source tarball so you are indeed expected > to either: > - "fix" MSYS (haven't had time yet to build a mingw-get-able > repo for this) or; > - you can also simply NOCONFIGURE=1 ./autogen on a Linux box/vm and > do everything else with MinGW/MSYS. > > mvg, > Dieter > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > ------------------------------ > > _______________________________________________ > gtk-devel-list mailing list > gtk-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-devel-list > > > End of gtk-devel-list Digest, Vol 88, Issue 15 > ********************************************** >
_______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list