[PyKDE] PyKDE 3.11-alpha7 wont compile on amd64?

Pascal Hahn p.hahn at laufwerka.de
Thu Apr 29 11:17:01 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Mittwoch 28 April 2004 08:59 schrieb Phil Thompson:
PyKDE-3.11-alpha7 is not compiling on my system. Anyone got an idea? I got sip 
4.0 rc3 installed and PyQT 3.11.

here my output of the complete compiling process:


     PyKDE version 3.11.0
           -------

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

sip version is 4.0rc3 (4.0.0)

Qt directory is /usr/qt/3
Qt version is 3.3.1

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

KDE base directory is /usr/kde/3.2
KDE include directory is /usr/kde/3.2/include
KDE lib directory is /usr/kde/3.2/lib
KDE version is 3.2.2 (0x30202)

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...
Creating the Makefile for the dcop module...

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

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

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

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

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

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

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

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

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

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

Generating the C++ source for the kmdi module...
Creating the Makefile for the kmdi module...

Creating top level Makefile...
Creating pykdeconfig.py...
make[1]: Entering directory 
`/var/tmp/portage/pykde-3.11_alpha7/work/PyKDE-3.11alpha7/dcop'
g++ -c -Wno-deprecated-declarations -pipe -mcpu=athlon-4 -march=athlon-4 
- -fomit-frame-pointer -msse -msse2 -mfpmath=sse -O3 -pipe -fPIC -O2 -Wall -W 
- -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde322 
- -I/usr/kde/3.2/include -I/usr/include/python2.3 -I/usr/qt/3/include 
- -I/usr/X11R6/include -o sipdcoppart0.o sipdcoppart0.cpp
/usr/qt/3/bin/moc -o moc_sipdcoppart0.cpp sipdcoppart0.h
g++ -c -Wno-deprecated-declarations -pipe -mcpu=athlon-4 -march=athlon-4 
- -fomit-frame-pointer -msse -msse2 -mfpmath=sse -O3 -pipe -fPIC -O2 -Wall -W 
- -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde322 
- -I/usr/kde/3.2/include -I/usr/include/python2.3 -I/usr/qt/3/include 
- -I/usr/X11R6/include -o moc_sipdcoppart0.o moc_sipdcoppart0.cpp
g++ -shared -Wl,-rpath,/usr/kde/3.2/lib -Wl,-rpath,/usr/qt/3/lib -o dcop.so 
sipdcoppart0.o moc_sipdcoppart0.o -L/usr/kde/3.2/lib -L/usr/qt/3/lib 
- -L/usr/X11R6/lib -lDCOP -lqt-mt -lXext -lX11 -lm -lpthread
make[1]: Leaving directory 
`/var/tmp/portage/pykde-3.11_alpha7/work/PyKDE-3.11alpha7/dcop'
make[1]: Entering directory 
`/var/tmp/portage/pykde-3.11_alpha7/work/PyKDE-3.11alpha7/kdecore'
g++ -c -Wno-deprecated-declarations -pipe -mcpu=athlon-4 -march=athlon-4 
- -fomit-frame-pointer -msse -msse2 -mfpmath=sse -O3 -pipe -fPIC -O2 -Wall -W 
- -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde322 
- -I/usr/kde/3.2/include -I/usr/include/python2.3 -I/usr/qt/3/include 
- -I/usr/X11R6/include -o sipkdecorepart0.o sipkdecorepart0.cpp
sipkdecorepart0.cpp: In function `const KShortcut&
   sipVH_kdecore_35(PyGILState_STATE, PyObject*, unsigned int)':
sipkdecorepart0.cpp:5170: Warnung: reference to local variable `sipRes'
   returned
sipkdecorepart0.cpp: In function `const QString&
   sipVH_kdecore_60(PyGILState_STATE, PyObject*)':
sipkdecorepart0.cpp:5573: Warnung: reference to local variable `sipRes'
   returned
sip/kdecore/kmountpoint.sip: In function `PyObject*
   convertFrom_KMountPoint_List(void*)':
sip/kdecore/kmountpoint.sip:136: Warnung: taking address of temporary
sipkdecorepart0.cpp: In Funktion »int convertTo_Display(PyObject*, void**,
   int*)«:
sipkdecorepart0.cpp:27744: Warnung: unused parameter `PyObject*sipPy'
sipkdecorepart0.cpp:27744: Warnung: unused parameter `int*sipIsErr'
sipkdecorepart0.cpp: In Funktion »PyObject* convertFrom_Display(void*)«:
sipkdecorepart0.cpp:27778: Warnung: unused variable `Display*sipCpp'
sipkdecorepart0.cpp: In member function `virtual const KShortcut&
   sipKShortcutList::shortcutDefault(unsigned int) const':
sipkdecorepart0.cpp:51346: error: new cannot be applied to a reference type
sipkdecorepart0.cpp: In member function `virtual const KShortcut&
   sipKShortcutList::shortcut(unsigned int) const':
sipkdecorepart0.cpp:51361: error: new cannot be applied to a reference type
sipkdecorepart0.cpp: In Funktion »PyObject* convertFrom_ulonglong(void*)«:
sip/kdecore/kconfigbase.sip:314: Warnung: unused variable `PyObject*LongLong'
sipkdecorepart0.cpp: In Funktion »void dealloc_KShared(sipWrapper*)«:
sipkdecorepart0.cpp:79326: Warnung: unused parameter `sipWrapper*sipSelf'
sipkdecorepart0.cpp: In Funktion »PyObject* convertFrom_QValueList_2100(void*)
   «:
sip/kdecore/kwinmodule.sip:110: Warnung: unused variable `PyObject*inst'
make[1]: *** [sipkdecorepart0.o] Fehler 1
make[1]: Leaving directory 
`/var/tmp/portage/pykde-3.11_alpha7/work/PyKDE-3.11alpha7/kdecore'
make: *** [all] Fehler 2





> PyKDE-3.11alpha7 is now available for download at the usual place. This
> version supports SIP v4.
>
> Phil
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

- -- 
Pascal Hahn
Laufwerk: A
Tel: 07152 / 9088 971
Fax: 07152 / 9088 999
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iQEVAwUBQJDH2r/CpCewSmAeAQL6RAf+J2s1p4UKDAivmercydjL2KL8Bgvr7IRO
N7sXzlXbWgnzA/IKGGT5t2Zo1eBO+0CFgvq0Q2BlsPJJEc9leGaksQ+76V4gvDE3
M+tUW0dn9QuEiatySbUmUmpPtgrSnqKu/6EEd5PyD2TQV27tf/Rw0FtEhTOVXETk
NJ7UQgDnMN0lnZqfObhcdDHoWfXPHSY7t5hwh4CObMaf6Jh1gLvfd7caxDVelUOZ
MZZUW37jhNQyBsRcY7Mmj8EqPaI+1nZwdI5AJ+d6jpHiID0SfIHACdY1NBIm8Qez
+TNEbygAGnmsVnsdbb2FGLs/Qllpqm1Nbl0XzIEPTIEujnbZp4juLg==
=8AjG
-----END PGP SIGNATURE-----




More information about the PyQt mailing list