>>>>> "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.

This is where I am stuck.  Although the README at this site suggests
that the lib is already built in the provided tar file, damned if I
can find it.  Eg,

 $ find . -name "*.lib" 

in the libxml2 dir turned up zilcho .  Can someone advise me how to
get libxml2 going on win32, either with some mingw magic to compile it
myself ('./configure' reported 'configure: error: can not find sources
in . or ..') or how to use the doolin binaries, or what.....

Thanks,
John Hunter


_______________________________________________
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