[review] [PyKDE] PyKDE 3.11 snapshot -- build error

Steven Robson s.a.robson at sms.ed.ac.uk
Thu Apr 22 23:36:01 BST 2004


On Thursday 22 April 2004 21:47, 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
>
> That certainly looks awful, doesn't it? Two problems:
>
> 1. PyKDE-3.11alpha5 is missing the directrory extra/kde321, so
> you're missing some h files
>
> I build the tarballs from a script (lots of cruft in the version
> on my HD), and forgot to include that directory in the tarball.
> For now,  create the extra/kde321 directory and copy the entire
> contents (incl subdirs) of extra/kde320 to it. I think that
> should work, as there are few if any changes between the
> versions for the h files affected.
>
> Alternatively, if you have the kdelibs source for KDE3.2.1, you
> can build extra/kde321 using the same files (but 3.2.1 versions)
> as in extra/kde320.
>
> The next release will have this fixed.
>
> 2. SuSE and RH don't require the 'typeid' include, but apparently
> Slack does. Change kdecore/kconfigskeleton.sip to look like this
> (add the #include <typeid>)
>
> class KConfigSkeletonItem
> {
> %TypeHeaderCode
> #include <typeid>
> #include <kconfigskeleton.h>
> %End
>
> Thanks for the info - I don't have a Slack system to test on and
> there always seem to be small problems that come up.
>
> Jim

I tried all that you suggested and got some more debug info, which I didn't 
really understand. 
(did "make clean", and then the same make command as before, to get the 
logfile)

I tried adding #include <typeinfo> before the #include <typeid> line, but it 
didn't help.

Thanks for responding so quickly,

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