[PyQt] Re: PyQt Digest, Vol 38, Issue 11

Bart uzi18 at o2.pl
Wed Sep 5 14:49:09 BST 2007


    jim:/home/jim # c++filt _ZNK23konsoleBrowserExtension9classNameEv
    konsoleBrowserExtension::className() const

    Run configure.py -x which disables konsolePart support (or
    alternatively edit
    the top level Makefile to remove konsole and konsolePart references.
    If the
    className() method isn't there, nothing related to konsolePart is.

    Not every Linux distribution supports (support varies by version too).

    configure.py should detect this automatically, and I thought it was
    off by
    default. You might be using an older version of PyKDE.

    Jim

You mean configure.py -w :)

But I need kparts module to work.
I want to build pykdeextensions and after that guidance.

Part of log from rpmbuild:

+ python configure.py -w -c -j 10 -d /usr/lib/python2.5/site-packages -n /usr/lib -v /usr/share/sip -k /usr

     PyKDE version 3.16.0
           -------

Python include directory is /usr/include/python2.5
Python version is 2.5.1

sip version is 4.7 (4.7.0)

Qt directory is /usr
Qt version is 3.3.8

PyQt directory is /usr/share/sip
PyQt version is 3.17.3 (3.17.3)

gcc version 4.2.1
concatenating files

KDE base directory is /usr
KDE include directory is /usr/include
KDE lib directory is /usr/lib
lib directory is lib

*** True KDE version is 0x30507 -- building for KDE 0x30503 ***

KDE version is 3.5.3 (0x30503)

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

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

(...)

make[1]: Leaving directory `/home/users/uzi/rpm/BUILD/PyKDE-3.16.0/dcop'
make[1]: Entering directory `/home/users/uzi/rpm/BUILD/PyKDE-3.16.0/kdecore'
athlon-pld-linux-g++ -c -pipe -fPIC -O2 -fno-strict-aliasing -fwrapv -march=athlon -fno-strict-aliasing -gdwarf-2 -g2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde353 -I/usr/include -I/usr/include/python2.5 -I/usr/mkspecs/linux-g++ -I/usr/include/qt -o sipkdecorepart0.o sipkdecorepart0.cpp
In file included from sipkdecorepart0.cpp:24:
sip/kdecore/bytearray.sip:26:31: error: sipdcopQValueList.h: No such file or directory
sipkdecorepart0.cpp:26:27: error: sipqtQVariant.h: No such file or directory
sip/kdecore/kconfigbase.sip:299:61: error: sipkdecoreKConfigBase.h: No such file or directory
sip/kdecore/kconfigdata.sip:95:33: error: sipkdecoreKEntryMap.h: No such file or directory
sip/kdecore/kconfigdata.sip:96:30: error: sipkdecoreKEntry.h: No such file or directory
sip/kdecore/kconfigdata.sip:97:33: error: sipkdecoreKEntryKey.h: No such file or directory
sip/kdecore/bytearray.sip:582:28: error: sipdcopDCOPRef.h: No such file or directory
sip/kdecore/bytearray.sip:583:27: error: sipqtQCString.h: No such file or directory
sip/kdecore/bytearray.sip:667:26: error: sipqtQString.h: No such file or directory
sip/kdecore/kmacroexpander.sip:123:24: error: sipqtQChar.h: No such file or directory
sip/kdecore/kmacroexpander.sip:205:30: error: sipqtQStringList.h: No such file or directory
sip/kdecore/ktimezones.sip:191:33: error: sipkdecoreKTimezone.h: No such file or directory
sip/kdecore/ktimezones.sip:143:39: error: sipkdecoreKTimezoneSource.h: No such file or directory
sip/kdecore/kmountpoint.sip:120:35: error: sipkdecoreKMountPoint.h: No such file or directory
sip/kdecore/kmountpoint.sip:121:38: error: sipkdecoreKMountPointPtr.h: No such file or directory
sipkdecorepart0.cpp: In function 'PyObject* func_locateLocal(PyObject*, PyObject*)':
sipkdecorepart0.cpp:3794: error: 'locateLocal' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_locate(PyObject*, PyObject*)':
sipkdecorepart0.cpp:3824: error: 'locate' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_i18n(PyObject*, PyObject*)':
sipkdecorepart0.cpp:3851: error: 'i18n' was not declared in this scope
sipkdecorepart0.cpp:3865: error: 'i18n' was not declared in this scope
sipkdecorepart0.cpp:3880: error: 'i18n' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_IconSize(PyObject*, PyObject*)':
sipkdecorepart0.cpp:3906: error: 'IconSize' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_UserIconSet(PyObject*, PyObject*)':
sipkdecorepart0.cpp:3933: error: 'UserIconSet' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_UserIcon(PyObject*, PyObject*)':
sipkdecorepart0.cpp:3963: error: 'UserIcon' was not declared in this scope
sipkdecorepart0.cpp:3980: error: 'UserIcon' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_MainBarIconSet(PyObject*, PyObject*)':
sipkdecorepart0.cpp:4010: error: 'MainBarIconSet' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_MainBarIcon(PyObject*, PyObject*)':
sipkdecorepart0.cpp:4041: error: 'MainBarIcon' was not declared in this scope
sipkdecorepart0.cpp:4058: error: 'MainBarIcon' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_SmallIconSet(PyObject*, PyObject*)':
sipkdecorepart0.cpp:4088: error: 'SmallIconSet' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_SmallIcon(PyObject*, PyObject*)':
sipkdecorepart0.cpp:4119: error: 'SmallIcon' was not declared in this scope
sipkdecorepart0.cpp:4136: error: 'SmallIcon' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_BarIconSet(PyObject*, PyObject*)':
sipkdecorepart0.cpp:4166: error: 'BarIconSet' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_BarIcon(PyObject*, PyObject*)':
sipkdecorepart0.cpp:4197: error: 'BarIcon' was not declared in this scope
sipkdecorepart0.cpp:4214: error: 'BarIcon' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_DesktopIconSet(PyObject*, PyObject*)':
sipkdecorepart0.cpp:4244: error: 'DesktopIconSet' was not declared in this scope
sipkdecorepart0.cpp: In function 'PyObject* func_DesktopIcon(PyObject*, PyObject*)':
sipkdecorepart0.cpp:4275: error: 'DesktopIcon' was not declared in this scope
sipkdecorepart0.cpp:4292: error: 'DesktopIcon' was not declared in this scope
sipkdecorepart0.cpp: In constructor 'sipKURLDrag::sipKURLDrag(const QStrList&, const QMap<QString, QString>&, QWidget*, const char*)':
sipkdecorepart0.cpp:5865: warning: '__base_ctor ' is deprecated (declared at /usr/include/kurldrag.h:155)
sipkdecorepart0.cpp: In function 'PyObject* meth_KURLDrag_newDrag(PyObject*, PyObject*)':
sipkdecorepart0.cpp:6410: warning: 'newDrag' is deprecated (declared at /usr/include/kurldrag.h:85)
sipkdecorepart0.cpp:6427: warning: 'newDrag' is deprecated (declared at /usr/include/kurldrag.h:91)
sip/kdecore/kmountpoint.sip: In function 'PyObject* convertFrom_KMountPoint_List(void*, PyObject*)':
sip/kdecore/kmountpoint.sip:142: warning: taking address of temporary
make[1]: *** [sipkdecorepart0.o] Error 1
make[1]: Leaving directory `/home/users/uzi/rpm/BUILD/PyKDE-3.16.0/kdecore'
make: *** [all] Error 2
błąd: Błędny status wyjścia z /tmp/rpm-tmp.29365 (%build)






More information about the PyQt mailing list