[Metakit] Build problems on Python 2.5
Ralf Schmitt
ralf at brainbot.com
Wed Sep 20 10:46:57 CEST 2006
Matthew Dixon Cowles wrote:
> Thanks for the help building Metakit under Python 2.4 a couple of
> months ago. It seems that there are some new issues for the new
> Python 2.5.
>
> I get a bunch of warnings similar to:
>
> ../unix/../python/PyView.cpp:957: warning: 'intargfunc' is deprecated
> (declared at /Library/Frameworks/Python.framework/Versions/Current//
> include/python2.5/object.h:133)
>
> which may be related to the actual errors which look like:
>
> ../unix/../python/PyView.cpp:962: error: invalid conversion from 'int
> (*)(PyObject*)' to 'Py_ssize_t (*)(PyObject*)'
>
I've setup a mercurial repository with some patches needed to compile
with python 2.5. take a look at http://systemexit.de/repo/metakit.
You can download a tgz from this url:
http://systemexit.de/repo/metakit?ca=tip;type=gz
It seems you're using a mac. Can you test building metakit using scons
(with "cd metakit/python; scons; scons install"). scons can be found
here: http://scons.org/
The build should be simpler using scons (no need to configure; make;
then python setup.py).
- Ralf
More information about the Metakit
mailing list