[PyKDE] Problem building PyQt in Kdebindings 3.5
Detlev Offenbach
detlev at die-offenbachs.de
Mon Dec 12 19:15:43 GMT 2005
Am Montag, 12. Dezember 2005 17:45 schrieb Douglas Soares de Andrade:
> Did you manage to compile it with the current sip snapshots ?
I compiled it with the official release.
>
> Im having this error:
>
> sip: Ptr is undefined
>
> Em Segunda 12 Dezembro 2005 18:41, Detlev Offenbach escreveu:
> > Hi,
> >
> > now I remember. It was -i that was used by me to get it to compile.
> >
> > Detlev
> >
> > Am Montag, 12. Dezember 2005 17:26 schrieb Douglas Soares de Andrade:
> > > I think that is "-j". Im using -j 4.
> > >
> > > Em Segunda 12 Dezembro 2005 17:54, Detlev Offenbach escreveu:
> > > > Hi,
> > > >
> > > > gcc 4.0.1 and 4.0.2 seem to have problems compiling really large
> > > > files. In order to het PyKDE compiled, you have to use the
> > > > configure.py option that prevents concatenating of the source files.
> > > > Unfortunately I don't remember which one it was.
> > > >
> > > > Detlev
> > > >
> > > > Am Montag, 12. Dezember 2005 14:45 schrieb Laurent Rathle:
> > > > > Hello,
> > > > >
> > > > > I'm trying to build Kdebindings 3.5 and it stops when it comes to
> > > > > PyQt. It's not that it stops with error, but the compilation hangs
> > > > > up on this
> > > > >
> > > > >
> > > > > make[4]: Entering directory
> > > > > `/home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/pyqt/qt'
> > > > > g++ -c -pipe -fPIC -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2
> > > > > -fomit-frame-pointer -march=i586 -mtune=pentiumpro -Wall -W
> > > > > -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> > > > > -I/home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/pyqt/qt
> > > > > -I/home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/sip/siplib
> > > > > -I/usr/include/python2.4 -I/usr/lib/qt3//include
> > > > > -I/usr/X11R6/include -o sipqtpart0.o
> > > > > /home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/pyqt/qt/sipqt
> > > > >pa rt 0. cp p
> > > > >
> > > > > and I can wait for hours, nothing happen. I have to kill the
> > > > > process. When I look at the processes with "ps", I get this :
> > > > >
> > > > > [lolo at localhost ~]$ ps aux |grep kdebindings-3.5.0
> > > > > lolo 17604 0.0 0.2 4040 2140 pts/2 S+ 11:27 0:00
> > > > > /usr/bin/perl -w /usr/bin/g++ -c -pipe -fPIC -O2 -pipe
> > > > > -Wp,-D_FORTIFY_SOURCE=2
> > > > > -fomit-frame-pointer -march=i586 -mtune=pentiumpro -Wall -W
> > > > > -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> > > > > -I/home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/pyqt/qt
> > > > > -I/home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/sip/siplib
> > > > > -I/usr/include/python2.4 -I/usr/lib/qt3//include
> > > > > -I/usr/X11R6/include -o sipqtpart0.o
> > > > > /home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/pyqt/qt/sipqt
> > > > >pa rt 0. cp p lolo 17605 0.0 0.0 1832 592 pts/2 S+
> > > > > 11:27 0:00 /usr/bin/g++-4.0.1 -c -pipe -fPIC -O2 -pipe
> > > > > -Wp,-D_FORTIFY_SOURCE=2 -fomit-frame-pointer -march=i586
> > > > > -mtune=pentiumpro -Wall -W -D_REENTRANT -DQT_NO_DEBUG
> > > > > -DQT_THREAD_SUPPORT
> > > > > -I/home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/pyqt/qt
> > > > > -I/home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/sip/siplib
> > > > > -I/usr/include/python2.4 -I/usr/lib/qt3//include
> > > > > -I/usr/X11R6/include -o sipqtpart0.o
> > > > > /home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/pyqt/qt/sipqt
> > > > >pa rt 0. cp p lolo 17606 93.3 31.5 368564 326584 pts/2 R+
> > > > > 11:27 174:03 /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/cc1plus
> > > > > -quiet
> > > > > -I/home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/pyqt/qt
> > > > > -I/home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/sip/siplib
> > > > > -I/usr/include/python2.4 -I/usr/lib/qt3//include
> > > > > -I/usr/X11R6/include -D_GNU_SOURCE -D_REENTRANT -DQT_NO_DEBUG
> > > > > -DQT_THREAD_SUPPORT -D_FORTIFY_SOURCE=2
> > > > > /home/lolo/Logiciels/KDE-3.5/kdebindings-3.5.0/python/pyqt/qt/sipqt
> > > > >pa rt 0. cp p -quiet -dumpbase sipqtpart0.cpp -march=i586
> > > > > -mtune=pentiumpro -auxbase-strip sipqtpart0.o -O2 -Wall -W -fPIC
> > > > > -fomit-frame-pointer -o -
> > > > >
> > > > > My distribution is :
> > > > >
> > > > > Mandriva 2006
> > > > > Kde 3.5 from sources
> > > > > gcc-4.0.1-5mdk
> > > > > gcc-c++-4.0.1-5mdk
> > > > > gcc-cpp-4.0.1-5mdk
> > > > > python-2.4.1-3mdk
> > > > > libqt3-3.3.5-4.mdk2006.0.mde
> > > > >
> > > > > Any idea ?
> > > > >
> > > > > Thank you,
> > > > >
> > > > > _______________________________________________
> > > > > PyKDE mailing list PyKDE at mats.imk.fraunhofer.de
> > > > > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the PyQt
mailing list