[PyKDE] Problem compiling PyKDE 3.16.0 - works now

Detlev Offenbach detlev at die-offenbachs.de
Sat Dec 23 16:04:39 GMT 2006


Hi,

I have to reply to my own mail because in the meantime I implemented a patch 
to successfully compile PyKDE 3.16.0 on a 64-bit Linux with Python 2.5 and 
latest sip. Please find the patch attached. I hope it will make it into the 
distro.

Regards,
Detlev

On Thursday 21 December 2006 13:08, Detlev Offenbach wrote:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyKDE-3.16.0.py25.diff
Type: text/x-diff
Size: 7862 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20061223/36cdf4e3/PyKDE-3.16.0.py25.bin


More information about the PyQt mailing list