[PyKDE] PyKDE fails to compile on Debian

Gudjon I. Gudjonsson gudjon at mc2.chalmers.se
Sun Mar 12 16:35:25 GMT 2006

   I downloaded the newest version of PyKDE, snapshot20060122 and it fails to 
compile with the following comments. I tried to look for a similar failure on 
the internet but didn't succeed. I have got the following sip and python-qt 
versions installed:
python 2.3
python-qt3	3.15.1-1
sip4			4.3.2-2
I have tried to compile it both on Debian amd64 and i386 with the same result.


g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -Wall -W -D_REENTRANT 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde350 -I/usr/include/kde 
-I/usr/include/python2.3 -I/usr/share/qt3/include -I/usr/X11R6/include -o 
sipkdecorepart0.o sipkdecorepart0.cpp
sip/kdecore/ktimezones.sip: In function 'PyObject* 
/usr/include/kde/ktimezones.h:191: error: 'KTimezone::KTimezone(const 
KTimezone&)' is private
sip/kdecore/ktimezones.sip:209: error: within this context
sipkdecorepart0.cpp: In function 'void* init_KTimezones(sipWrapper*, 
PyObject*, sipWrapper**)':
/usr/include/kde/ktimezones.h:340: error: 'KTimezones::KTimezones(const 
KTimezones&)' is private
sipkdecorepart0.cpp:9497: error: within this context
sipkdecorepart0.cpp: In function 'void* init_KTimezone(sipWrapper*, PyObject*, 
/usr/include/kde/ktimezones.h:191: error: 'KTimezone::KTimezone(const 
KTimezone&)' is private
sipkdecorepart0.cpp:10450: error: within this context
sip/kdecore/kmountpoint.sip: In function 'PyObject* 
sip/kdecore/kmountpoint.sip:151: warning: taking address of temporary
sipkdecorepart0.cpp: At global scope:
sipkdecorepart0.cpp:34439: warning: unused parameter 'sipPy'
sipkdecorepart0.cpp:34439: warning: unused parameter 'sipIsErr'
sipkdecorepart0.cpp: In function 'PyObject* convertFrom_Display(void*)':
sipkdecorepart0.cpp:34478: warning: unused variable 'sipCpp'
sip/kdecore/kconfigbase.sip: In function 'PyObject* 
sip/kdecore/kconfigbase.sip:307: warning: unused variable 'LongLong'
sip/kdecore/kwinmodule.sip: In function 'PyObject* convertFrom_QValueList_2100
sip/kdecore/kwinmodule.sip:111: warning: unused variable 'inst'
make[1]: *** [sipkdecorepart0.o] Error 1
make[1]: Leaving directory 
make: *** [all] Error 2

More information about the PyQt mailing list