[PyKDE] PyKDE 3.11 snapshot -- build error TYPEINFO

Steven Robson s.a.robson at sms.ed.ac.uk
Fri Apr 23 00:23:01 BST 2004


On Thursday 22 April 2004 22:59, Jim Bublitz wrote:
> On Thursday April 22 2004 10:53, Steven Robson wrote:
> > I'm getting the build errors attached when building the
> > recently released PyKDE snapshot.
> > Other info:
> > Slackware 9.1, python 2.3.1, sip 3.10.1 (3.10.1-192),
> > PyQt-x11-gpl-3.11.
> >
> > I did python configure.py -c
> > followed by make > makeop 2>> makeop
>
> There was an error in my previous response. You should add:
>
> #include <typeinfo> NOT typeid to kconfigskeleton.sip
>
> Jim


I don't think that works, that is, the error message doesn't seem to change.
I also tried putting it outside the class declaration, but to no effect.

/home/sr/installing/python_inst/PyKDE-3.11alpha5/sip/kdecore/kconfigskeleton.sip

is the file i'm editing. 

class KConfigSkeletonItem
{
%TypeHeaderCode
#include <typeinfo>
#include <kconfigskeleton.h>
%End

is what it currently looks like. 

Am I missing typeinfo?

Thanks again,

Steven
-------------- next part --------------
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha5/dcop'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o dcoppart0.o dcoppart0.cpp
/usr/lib/qt-3.2.3/bin/moc -o moc_dcoppart0.cpp dcoppart0.h
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o moc_dcoppart0.o moc_dcoppart0.cpp
g++ -shared -Wl,-soname,libdcopcmodule.so -Wl,-rpath,/opt/kde/lib -Wl,-rpath,/usr/lib/qt-3.2.3/lib -o libdcopcmodule.so dcoppart0.o moc_dcoppart0.o -L../qt -L/opt/kde/lib -L/usr/lib/python2.3/site-packages -L/usr/lib/qt-3.2.3/lib -lqtcmodule -lDCOP -lsip -lqt-mt
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha5/dcop'
make[1]: Entering directory `/home/sr/installing/python_inst/PyKDE-3.11alpha5/kdecore'
g++ -c -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde321 -I/opt/kde/include -I/usr/include/python2.3 -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include -o kdecorepart0.o kdecorepart0.cpp
make[1]: Leaving directory `/home/sr/installing/python_inst/PyKDE-3.11alpha5/kdecore'
nItem(const KConfigSkeletonItem*)':
sip/kdecore/kconfigskeleton.sip:67: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:67: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:69: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:69: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:71: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:71: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:73: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:73: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:75: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:75: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:77: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:77: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:79: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:79: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:81: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:81: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:83: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:83: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:85: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:85: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:87: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:87: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:89: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:89: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:91: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:91: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:93: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:93: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:95: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:95: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:97: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:97: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:99: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:99: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:101: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:101: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:103: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:103: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:105: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:105: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:107: must #include <typeinfo> before using 
   typeid
sip/kdecore/kconfigskeleton.sip:107: must #include <typeinfo> before using 
   typeid
make[1]: *** [kdecorepart0.o] Error 1
make: *** [all] Error 2


More information about the PyQt mailing list