[pygtk] Pygtk and Windows... how to build for release?

Stuart Axon stuaxo2 at yahoo.com
Tue Jan 12 01:56:02 WST 2010


There are seperate ones from the ones I got in the pygobject git ?

Or is it finding the binary versions of those that I have installed ?



----- Original Message ----
From: John Stowers <john.stowers.lists at gmail.com>
To: Stuart Axon <stuaxo2 at yahoo.com>
Cc: pygtk at daa.com.au
Sent: Mon, January 11, 2010 10:30:29 AM
Subject: Re: [pygtk] Pygtk and Windows... how to build for release?

On Sun, 2010-01-10 at 17:44 -0800, Stuart Axon wrote:
> The git learning is great :)
> 
> I might try building stable stuff tomorrow, although I may as well try and build HEAD too.
> 
> So far I got pygobject starting to build, but now I can see the real hassle, that of course the problem is not the python, but the other stuff...
> 
> [C:\usr\pygtk-git\pygobject]python setup.py build
> **********************************************************************
> Building PyGObject using distutils is NOT SUPPORTED.
> It's mainly included to be able to easily build win32 installers
> You may continue, but only if you agree to not ask any questions
> To build PyGObject in a supported way, read the INSTALL file
> 
> Build fixes are of course welcome and should be filed in bugzilla
> **********************************************************************
> Not supported, ok [y/N]? y
> C:\usr\pygtk-git\pygobject\dsextras.py:354: DeprecationWarning: object.__new__() takes no parameters
>   return object.__new__(cls,*args, **kwds)
> running build
> running build_py
> running build_clib
> building 'pyglib' library
> running build_ext
> building 'gio._gio' extension
> C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -DPYGOBJECT_MAJOR_VERSIO
> N=2 -DPYGOBJECT_MINOR_VERSION=21 -DPYGOBJECT_MICRO_VERSION=2 -DVERSION="""2.21.2""" -Iglib -IC:/usr/gtk/include/glib-2.0
>  -IC:/usr/gtk/lib/glib-2.0/include -Igobject -IC:/usr/gtk/include/glib-2.0 -IC:/usr/gtk/lib/glib-2.0/include -IC:\usr\Py
> thon26\include -IC:\usr\Python26\PC /Tcgio/gio.c /Fobuild\temp.win32-2.6\Release\gio/gio.obj
> gio.c
> gmemoryoutputstream.override(44) : warning C4244: 'function' : conversion from 'goffset' to 'Py_ssize_t', possible loss
> of data
> gio/gio.c(19534) : error C2065: 'G_TYPE_CONVERTER_FLAGS' : undeclared identifier
> gio/gio.c(19535) : error C2065: 'G_TYPE_CONVERTER_RESULT' : undeclared identifier
> gio/gio.c(19563) : error C2065: 'G_TYPE_ZLIB_COMPRESSOR_FORMAT' : undeclared identifier
> error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2

Looks like you need glib/gio from git.

John


      


More information about the pygtk mailing list