[PyKDE] Bug in PyKDE-3.5-2

Israel Herraiz Tabernero israel.herraiz at hispalinux.es
Wed May 28 12:23:00 BST 2003


> It would be helpful to see the gcc error output. There is no 
> direct reference to KService(KService&) in 
> sipkioKServicePtr.cpp, or in the underlying sip file. PyKDE3.5-2 
> compiles successfully with KDE-3.1.0 and gcc 3.2.2 under SuSE 
> and Red Hat, and the KService copy contstructor is private in 
> those cases as well.

Here is the gcc output. I think I have said that the error appeared in
sipkioKServicePtr.cpp, but it is in sipkioKService.cpp; sorry ;-)

g++ -c -pipe -w -O2 -fomit-frame-pointer -pipe -march=i586
-mcpu=pentiumpro -D_REENTRANT -fPIC  -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -fno-exceptions -I/usr/lib/qt3//mkspecs/default -I.
-I../extra/kde310 -I. -I/usr/include/python2.2 -I/usr/include
-I../extra/kde310/kio -I/usr/include/kio -I../kdecore
-I/usr/lib/qt3//include -o sipkioKService.o sipkioKService.cpp
/usr/include/kservice.h: In constructor `sipKService::sipKService(const
KService&)':
/usr/include/kservice.h:56: `KService::KService(const KService&)' is
private
sipkioKService.cpp:75: within this context
make[1]: *** [sipkioKService.o] Error 1
make[1]: Leaving directory `/home/ixra/pykde/PyKDE-3.5-2/kio'
make: *** [sub-kio] Error 2

As you can see, PyKDE can not compile because KService(const KService&)
is private. If I change /usr/include/kservice.h in order to make
KService(const KService&) public, it compiles, but as I have already
said, this constructor must be private, so it seems a bug in PyKDE.


-- 
Israel Herraiz Tabernero 
<israel.herraiz at hispalinux.es>

---

Visita la página Web de CAFLUR 
	http://caflur.sf.net

---

Clave pública: 
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0x6248BA12
Para añadirla a tu anillo de claves: 
gpg --keyserver pgp.rediris.es --recv-keys 6248BA12

---

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030528/c8c04dd9/attachment.bin


More information about the PyQt mailing list