[texworks] compilation of TWPythonPlugin.cpp failed
jfkthame at googlemail.com
Mon Feb 22 07:23:16 CET 2010
>From Googling a bit, it looks like Py_ssize_t was new in Python 2.5. I have patched the TWPythonPlugin source accordingly, so I hope this will resolve the problem.
On 21 Feb 2010, at 21:02, Atsuhito Kohda wrote:
> Hi Jonathan and all,
> On Sun, 21 Feb 2010 16:13:59 -0800, Jonathan Kew wrote:
>> I think this is an issue with the version of Python. We need an #if... in the source that checks the version of the Python headers, to choose the right type for that variable, but I'm not sure exactly what version number to test.
>> If someone could check the declaration of PyDict_Next() through various releases of Python 2.x, it should be easy enough to figure out what's needed. Or perhaps it's even mentioned in release notes or changelog somewhere.
> I consulted a Ubuntu package by Stefan Löffler and can
> fix the problem now.
> I think some check should be necessary in the source, however.
> Thanks for your help.
> Best regards, 2010-2-22(Mon)
> Debian Developer - much more I18N of Debian
> Atsuhito Kohda <kohda AT debian.org>
> Department of Math., Univ. of Tokushima
More information about the texworks