On Sunday 23 May 2004 05:30, Bonne Eggleston wrote: > Hi, > I attempted to compile PyKDE but got errors. I'm running SuSE 9.0 > with KDE 3.2.1, Python 2.3.0, Sip 3.10.2, Qt 3.2., PyQt 3.11.0 > > Here's the compiler error: > > make[1]: Entering directory > `/home/Bonne/Downloads/Libraries/PyKDE-3.11rc1/ kio' > g++ -c -Wno-deprecated-declarations -pipe -O2 -march=i586 > -mcpu=i686 -fmessage-length=0 -fPIC -fPIC -O2 -march=i586 > -mcpu=i686 -fmessage-length=0 -fPIC -w -D_REENTRANT -DQT_NO_DEBUG > -DQT_THREAD_SUPPORT -I. -I../extra/kde314 -I/opt/kde3/include > -I/opt/kde3/include/kio -I/usr/include/ -I/usr/include/ python2.3 > -I/usr/lib/qt3/include -I/usr/X11R6/include -o kiopart0.o > kiopart0.cpp > kiopart0.cpp: In function `PyObject* > sipDo_KFileShare_setShared(PyObject*, PyObject*)': > kiopart0.cpp:6848: error: no matching function for call to > `KFileShare::setShared(QString&, bool&)' > /opt/kde3/include/kfileshare.h:71: error: candidates are: static > bool KFileShare::setShared(const QString&, bool, bool) > make[1]: *** [kiopart0.o] Error 1 > make[1]: Leaving directory > `/home/Bonne/Downloads/Libraries/PyKDE-3.11rc1/kio' make: *** [all] > Error 2 >
Well, this is a unfortunate SuSEism. Try attached patch.. Pete
--- sip/kio/kfileshare.sip~ 2004-04-23 11:40:47.000000000 +0200 +++ sip/kio/kfileshare.sip 2004-04-23 11:41:29.000000000 +0200 @@ -75,7 +75,7 @@ public: %If ( - KDE_3_1_5 ) -//ig static bool setShared (const QString&, bool, bool); + static bool setShared (const QString&, bool, bool); %End
