[PyQt] PyKDE doesn't compile with latest sip & PyQt
Ismail Dönmez
ismail at pardus.org.tr
Sun Jun 24 11:43:20 BST 2007
On Sunday 24 June 2007 12:43:03 Phil Thompson wrote:
> On Saturday 23 June 2007 10:27 pm, Ismail Dönmez wrote:
> > On Saturday 23 June 2007 18:58:24 Phil Thompson wrote:
> > > On Wednesday 20 June 2007 6:15 pm, Ismail Dönmez wrote:
> > > > Hi all,
> > > >
> > > > I got the following installed
> > > >
> > > > sip-20070619
> > > > PyQt-20070613
> > > > gcc 4.2.0
> > > >
> > > > Configuring PyKDE 3.16.0 with configure.py -k /usr/kde/3.5 && make
> > > > results in :
> > > >
> > > > g++ -c -Wno-deprecated-declarations -pipe -fPIC -mtune=i686 -O2 -pipe
> > > > -fomit-frame-pointer -Wall -W -D_REENTRANT -DQT_NO_DEBUG
> > > > -DQT_THREAD_SUPPORT -I. -I../extra/kde353 -I/usr/kde/3.5/include
> > > > -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/default
> > > > -I/usr/qt/3/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
> > > >
> > > >
> > > > Any ideas appreciated.
> > >
> > > I've added a patch to the PyKDE download page. It now builds on my
> > > system, but I haven't tried running anything. PyKDE should now also
> > > build on 64 bit systems against Python v2.5.
> > >
> > > The patch basically removes unneeded internal stuff and may well build
> > > with earlier versions of SIP - I'd be interested in any feedback.
> >
> > It started fine but now got this,
> >
> > sipkdecoreKConfigSkeletonItemUInt64.cpp:50: error: 'ulonglong' has not
> > been declared
> > sipkdecoreKConfigSkeletonItemUInt64.cpp:50: error: 'ulonglong' has not
> > been declared
> > sipkdecoreKConfigSkeletonItemUInt64.cpp:65: error: expected ',' or '...'
> > before '&' token
> > sipkdecoreKConfigSkeletonItemUInt64.cpp:65: error: ISO C++ forbids
> > declaration of 'ulonglong' with no type
> > sipkdecoreKConfigSkeletonItemUInt64.cpp:86: error: 'ulonglong' has not
> > been declared
> > sipkdecoreKConfigSkeletonItemUInt64.cpp:86: error: 'ulonglong' has not
> > been declared
> > [...]
> >
> > I had to use -i else it wouldn't compile with gcc4, was taking too long.
> > I used gcc 4.2.0. Thanks for your help.
>
> I think if you use -j2 instead of -i it will compile (and in a reasonable
> time). I'll update the patch (or SIP).
Actually I was using -j2 and this is a Core2Duo 1.8 with 2 GB RAM. Thanks.
Regards,
ismail
--
Perfect is the enemy of good
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070624/262362ef/attachment-0001.bin
More information about the PyQt
mailing list