At 10:52 PM 3/17/2003 -0600, John Hunter wrote:
>>>>> "John" == John K Luebs <[EMAIL PROTECTED]> writes:

    John> If you want glade bindings, you need the libglade bin
    John> release.  Building libglade is just like gtk+ and
    John> friends. Easy if you have cygwin and you ensure that you
    John> invoke the configure script with the right magic. It's still
    John> clumsy and slow.

    John> One thing tricky Cedric didn't seem to do is put a link to
    John> libglade binaries (at least I can't find it). However, they
    John> are on his site in the binaries directory along with the
    John> pygtk binary release. This will save you having to build
    John> them yourself.

I am making some progress here. Got GTK2.2 and mingw32 and am trying
to build the xid/hwnd patched pygtk CVS on win32.  I grabbed libglade
from Cedrics cite and installed that, but now the setup.py build is
crashing on

$ python setup.py build --compiler=mingw32

Traceback (most recent call last):
  File "setup.py", line 212, in ?
    if libglade.can_build():
  File "dsextras.py", line 175, in can_build
    version = map(int, orig_version.split('.'))
ValueError: invalid literal for int():

I traced this back to a pkg-config check for libglade, which tuned up
the empty string and the build crashed.  The problem is that libglade
requires libxml, which I grabbed from
http://www.ce.berkeley.edu/~doolin/code/libxmlwin32.

You can get libxml2 from


http://gnuwin32.sourceforge.net

as mentioned on my site when you downloaded the libglade binaries

Cedric

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to