[PyKDE] Problem compiling PyKDE 3.16.0

Detlev Offenbach detlev at die-offenbachs.de
Thu Dec 21 12:08:19 GMT 2006


Hi,

I am trying to compile PyKDE 3.16.0 for Python 2.5.0 with latest sip snapshot 
(tried with 4.5.2 as well), but it fails with error messages like

sip/kdecore/kurl.sip: In function ‘PyObject* 
slot_KURL_List___getitem__(PyObject*, PyObject*)’:
sip/kdecore/kurl.sip:329: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for 
argument ‘3’ to ‘int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, 
Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)’
sip/kdecore/kurl.sip: In function ‘int slot_KURL_List___delitem__(PyObject*, 
PyObject*)’:
sip/kdecore/kurl.sip:297: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for 
argument ‘3’ to ‘int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, 
Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)’
sip/kdecore/kurl.sip: In function ‘int slot_KURL_List___setitem__(PyObject*, 
PyObject*)’:
sip/kdecore/kurl.sip:255: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for 
argument ‘3’ to ‘int PySlice_GetIndicesEx(PySliceObject*, Py_ssize_t, 
Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)’

What am I doing wrong? I have checked this mailing list, but non of the tips 
helped.

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the PyQt mailing list