[pygtk] PyGTK and Windows 2000
Dieter Verfaillie
dieterv at optionexplicit.be
Thu Nov 10 04:42:12 WST 2011
On 05/11/2011 12:22, cwr at netcom.co.uk wrote:
> Quoting Dieter Verfaillie <dieterv at optionexplicit.be>:
>> On Fri, 04 Nov 2011 16:08:02 +0000, cwr at netcom.co.uk wrote:
>>> I've been trying to install Python on Windows 2000 SP4, and have run into
>>> the traditional "DLL load failed" error.
>>
>> From
>> http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/pygtk-all-in-one.README:
>>
>> - In theory, Windows 2000 should be supported, but in practice the
>> gtk+ binaries
>> on ftp.gnome.org are affected by libgio-2.0-0.dll needing the
>> freeaddrinfo()
>> function which is only available starting from Windows XP:
>>
>> - https://bugzilla.gnome.org/show_bug.cgi?id=637565
>> - related bug: https://bugzilla.gnome.org/show_bug.cgi?id=610502#c6
>> - related bug: https://bugzilla.gnome.org/show_bug.cgi?id=623128
>> - http://msdn.microsoft.com/en-us/library/ms737931%28v=vs.85%29.aspx
>>
>> The all-in-one installer is based on those binaries, so sadly we
>> can't support
>> Windows 2000...
>>
>>> The installer files are:
>>>
>>> Size Name
>>> 15970304 python-2.7.2.msi
>>> 33091012 pygtk-all-in-one-2.22.5.win32-py2.7.msi
>>> 872816 WindowsXP-KB975337-x86-ENU.exe
>>
>> ... which was not yet discovered at the time of 2.22.5. Newer aio installer
>> versions (don't remember which version exactly) should detect this
>> and present
>> an error message.
>>
>> One possible solution -if you *really* need to stick with Windows 2000- would
>> be to compile the complete GTK+/GLib/... stack with MSVC and use the
>> stand-alone
>> installers for pycairo, pygobject and pygtk. But with that, I can't help.
>>
>> Sorry to bring bad news,
>> mvg,
>> Dieter
>>
>
> Thanks anyway - I don't think I can cope with a full rebuild, as I don't use
> Windows and simply wanted to port a python app. There's a message, somewhere,
> that replacing gdiplus.dll from the WinXP package would get PyGTK running, but
> apparently not so.
Yeah, it's noted in that same readme, though it's recommended to use
the GDI+ Platform SDK redistributable. That was the first hurdle to
overcome. And then hit the freeaddrinfo() issue...
> Are there any older all-in-one packages that might run, with older versions
> of Python? I've looked but can't find any.
I'm not aware of GTK+ binaries being built with MSVC being available
for download, sorry...
mvg,
Dieter
More information about the pygtk
mailing list