[Pyrex] various problem working with 0.9.6.3
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Oct 23 01:27:31 CEST 2007
Christian Meesters wrote:
> In file included from src/calc.c:842:
> /usr/include/python2.5/frameobject.h: At top level:
> /usr/include/python2.5/frameobject.h:17: error: field ‘ob_refcnt’
> declared as a function
> /usr/include/python2.5/frameobject.h:17: error: field ‘ob_size’ declared
> as a function
> src/calc.c: In function ‘__Pyx_AddTraceback’:
> src/calc.c:891: error: ‘PyObject’ has no member named ‘ob_refcnt’
> src/calc.c:891: error: ‘PyObject’ has no member named ‘ob_type’
> ...
Are those the *only* errors you get, or were there earlier
ones? In particular, does it complain about any missing
.h files?
If it says it can't find Python.h, it probably means you
need to install the relevant devel package for Python on
your system.
--
Greg
More information about the Pyrex
mailing list