[PyQt] PyKDE is not compiling with opensuse 10.2
Jan
isn at gmx.de
Sun Oct 28 16:12:10 GMT 2007
Hi!
I have troubles compiling PyKDE on opensuse 10.2 with kde running.
I loaded an compiled the latest versions of SIP an PyQT3 (downloaded
from riverbanking.com).
Next I called "python configure.py".
Here ist the output:
PyKDE version 3.16.0
-------
Python include directory is /usr/include/python2.5
Python version is 2.5.0
sip version is 4.7.1 (4.7.1)
Qt directory is /usr/lib/qt3
Qt version is 3.3.7
PyQt directory is /usr/share/sip
PyQt version is 3.17.3 (3.17.3)
gcc version 4.1.2
concatenating files
KDE base directory is /opt/kde3
KDE include directory is /opt/kde3/include
KDE lib directory is /opt/kde3/lib
lib directory is lib
*** True KDE version is 0x30505 -- 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
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 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 kresources module...
Creating the Makefile for the kresources module...
Generating the C++ source for the kabc module...
Creating the Makefile for the kabc module...
Generating the C++ source for the kutils module...
Creating the Makefile for the kutils 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...
+++
Which looked all very good to me...!
+++
I typed "make" into my SU shell an got the following output:
make[1]: Entering directory `/home/jay/install/PyKDE-3.16.0/dcop'
g++ -c -Wno-deprecated-declarations -pipe -O2 -march=i586 -mtune=i686
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing
-fPIC -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -Wall -W -D_REENTRANT
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde353
-I/opt/kde3/include -I/usr/include/ -I/usr/include/python2.5
-I/usr/lib/qt3/mkspecs/default -I/usr/lib/qt3/include
-I/usr/X11R6/include -o sipdcoppart0.o sipdcoppart0.cpp
g++ -shared -Wl,--version-script=dcop.exp -o dcop.so sipdcoppart0.o
-L/opt/kde3/lib -L/usr/lib/ -L/usr/lib/qt3/lib/ -L/usr/X11R6/lib/ -lDCOP
-lqt-mt -lXext -lX11 -lm -lpthread
make[1]: Leaving directory `/home/jay/install/PyKDE-3.16.0/dcop'
make[1]: Entering directory `/home/jay/install/PyKDE-3.16.0/kdecore'
g++ -c -Wno-deprecated-declarations -pipe -O2 -march=i586 -mtune=i686
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing
-fPIC -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -g -fno-strict-aliasing -Wall -W -D_REENTRANT
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde353
-I/opt/kde3/include -I/usr/include/ -I/usr/include/python2.5
-I/usr/lib/qt3/mkspecs/default -I/usr/lib/qt3/include
-I/usr/X11R6/include -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
sip/kdecore/klockfile.sip:75:44: error:
../kdecore/sipkdecoreKLockFile.h: No such file or directory
sip/kdecore/kconfigskeleton.sip:125:32: error: sipkdecorelonglong.h: No
such file or directory
sip/kdecore/kconfigskeleton.sip:126:33: error: sipkdecoreulonglong.h: No
such file or directory
sip/kdecore/kconfigskeleton.sip:1086:53: error:
sipkdecoreKConfigSkeletonItemEnumChoice.h: No such file or directory
sip/kdecore/kconfig.sip:196:37: error: sipkdecoreKSharedConfig.h: No
such file or directory
sip/kdecore/kcompletion.sip:155:33: error: sipkdecoreKShortcut.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
sip/kdecore/kmountpoint.sip: In function ‘PyObject*
convertFrom_KMountPoint_List(void*, PyObject*)’:
sip/kdecore/kmountpoint.sip:142: warning: taking address of temporary
sipkdecorepart0.cpp: In function ‘void release_Display(void*, int)’:
sipkdecorepart0.cpp:35619: warning: possible problem detected in
invocation of delete operator:
sipkdecorepart0.cpp:35619: warning: invalid use of undefined type
‘struct _XDisplay’
/usr/lib/qt3/include/qwindowdefs.h:141: warning: forward declaration of
‘struct _XDisplay’
sipkdecorepart0.cpp:35619: note: neither the destructor nor the
class-specific operator delete will be called, even if they are declared
when the class is defined.
sipkdecorepart0.cpp: At global scope:
sipkdecorepart0.cpp:35625: warning: unused parameter ‘sipPy’
sipkdecorepart0.cpp:35625: warning: unused parameter ‘sipIsErr’
sipkdecorepart0.cpp: In function ‘PyObject* convertFrom_Display(void*,
PyObject*)’:
sipkdecorepart0.cpp:35666: warning: unused variable ‘sipCpp’
sip/kdecore/kconfigbase.sip: In function ‘PyObject*
convertFrom_ulonglong(void*, PyObject*)’:
sip/kdecore/kconfigbase.sip:309: warning: unused variable ‘LongLong’
sip/kdecore/kwinmodule.sip: In function ‘PyObject*
convertFrom_QValueList_2100(void*, PyObject*)’:
sip/kdecore/kwinmodule.sip:111: warning: unused variable ‘inst’
make[1]: *** [sipkdecorepart0.o] Error 1
make[1]: Leaving directory `/home/jay/install/PyKDE-3.16.0/kdecore'
make: *** [all] Error 2
A close look to my PyKDE directory told me: the whole bunch of mentioned
files are really missing! But why are they missing?
Any ideas for help??
Thanks a lot!
Yours,
Jay
More information about the PyQt
mailing list