[PyKDE] compile error in kio module

Bonne Eggleston b.eggleston at student.unsw.edu.au
Sun May 23 12:59:01 BST 2004


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



Here's the configure.py dump:


     PyKDE version 3.11.0
           -------

Python include directory is /usr/include/python2.3
Python version is 2.3.0

sip version is 3.10.2 (3.10.2)

Qt directory is /usr/lib/qt3
Qt version is 3.2.1

PyQt directory is /usr/share/sip
PyQt version is 3.11 (3.11.0)

KDE base directory is /opt/kde3
KDE include directory is /opt/kde3/include
KDE lib directory is /opt/kde3/lib
KDE version is 3.1.4 (0x30104)

PyKDE modules to be built:
   dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kspell kdeprint kmdi

PyKDE modules will be installed in /usr/lib/python2.3/site-packages
PyKDE .sip files will be installed in /usr/share/sip

Generating the C++ source for the dcop module...
Compiling dcop.py...
Creating the Makefile for the dcop module...

Generating the C++ source for the kdecore module...
Compiling kdecore.py...
Creating the Makefile for the kdecore module...

Generating the C++ source for the kdesu module...
Compiling kdesu.py...
Creating the Makefile for the kdesu module...

Generating the C++ source for the kdefx module...
Compiling kdefx.py...
Creating the Makefile for the kdefx module...

Generating the C++ source for the kdeui module...
Compiling kdeui.py...
Creating the Makefile for the kdeui module...

Generating the C++ source for the kio module...
Compiling kio.py...
Creating the Makefile for the kio module...

Generating the C++ source for the kfile module...
Compiling kfile.py...
Creating the Makefile for the kfile module...

Generating the C++ source for the kparts module...
Compiling kparts.py...
Creating the Makefile for the kparts module...

Generating the C++ source for the khtml module...
Compiling khtml.py...
Creating the Makefile for the khtml module...

Generating the C++ source for the kspell module...
Compiling kspell.py...
Creating the Makefile for the kspell module...

Generating the C++ source for the kdeprint module...
Compiling kdeprint.py...
Creating the Makefile for the kdeprint module...

Creating top level Makefile...
Creating pykdeconfig.py...

Cheers,
Bonne Eggleston




More information about the PyQt mailing list