Re: Build problems on Python 2.5

Ralf Schmitt <[email protected]> Wed, 20 Sep 2006 09:46:57 +0200
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
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

_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit