[PyKDE] Problems compiling on amd64

Phil Thompson phil at riverbankcomputing.co.uk
Tue Apr 27 00:28:01 BST 2004


On Monday 26 April 2004 11:00 pm, Pascal Hahn wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi there,
>
> I tried to compile pykde-3.11_alpha6
>
> I first had problems with my sip installation(too new version), but got
> that fixed regarding the mailinglist archives.
>
> But now I get c++ errors with my dcop.
>
> Anyone perhaps got an idea or a fix?
>
> heres my output of the compiling:
>
>
>      PyKDE version 3.11.0
>            -------
>
> Python include directory is /usr/include/python2.3
> Python version is 2.3.3
>
> sip version is 3.10.1 (3.10.1)
>
> Qt directory is /usr/qt/3
> Qt version is 3.3.1
>
> PyQt directory is /usr/share/sip
> PyQt version is 3.11 (3.11.0)
>
> KDE base directory is /usr/kde/3.2
> KDE include directory is /usr/kde/3.2/include
> KDE lib directory is /usr/kde/3.2/lib
> KDE version is 3.2.2 (0x30202)
>
> PyKDE modules to be built:
>    dcop kdecore kdesu kdefx kdeui kio kfile kparts khtml kjs kspell
> kdeprint
>
> PyKDE modules will be installed in /usr/lib/python2.3/site-packages
> PyKDE .sip files will be installed in /usr/share/sip
>
> Generating the C++ source for the dcop module...
> Compiling dcop.py...
> Creating the Makefile for the dcop module...
>
> Generating the C++ source for the kdecore module...
> Compiling kdecore.py...
> Creating the Makefile for the kdecore module...
>
> Generating the C++ source for the kdesu module...
> Compiling kdesu.py...
> Creating the Makefile for the kdesu module...
>
> Generating the C++ source for the kdefx module...
> Compiling kdefx.py...
> Creating the Makefile for the kdefx module...
>
> Generating the C++ source for the kdeui module...
> Compiling kdeui.py...
> Creating the Makefile for the kdeui module...
>
> Generating the C++ source for the kio module...
> Compiling kio.py...
> Creating the Makefile for the kio module...
>
> Generating the C++ source for the kfile module...
> Compiling kfile.py...
> Creating the Makefile for the kfile module...
>
> Generating the C++ source for the kparts module...
> Compiling kparts.py...
> Creating the Makefile for the kparts module...
>
> Generating the C++ source for the khtml module...
> Compiling khtml.py...
> Creating the Makefile for the khtml module...
>
> Generating the C++ source for the kjs module...
> Compiling kjs.py...
> Creating the Makefile for the kjs module...
>
> Generating the C++ source for the kspell module...
> Compiling kspell.py...
> Creating the Makefile for the kspell module...
>
> Generating the C++ source for the kdeprint module...
> Compiling kdeprint.py...
> Creating the Makefile for the kdeprint module...
>
> Creating top level Makefile...
> Creating pykdeconfig.py...
> make[1]: Entering directory
> `/var/tmp/portage/pykde-3.11_alpha6/work/PyKDE-3.11alpha6/dcop'
> g++ -c -pipe -mcpu=athlon-4 -march=athlon-4 -fomit-frame-pointer -msse
> -msse2 - -mfpmath=sse -O3 -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG
> - -DQT_THREAD_SUPPORT -I. -I../extra/kde322 -I/usr/kde/3.2/include
> - -I/usr/include/python2.3 -I/usr/qt/3/include -I/usr/X11R6/include -o
> dcoppart0.o dcoppart0.cpp
> /usr/qt/3/bin/moc -o moc_dcoppart0.cpp dcoppart0.h
> g++ -c -pipe -mcpu=athlon-4 -march=athlon-4 -fomit-frame-pointer -msse
> -msse2 - -mfpmath=sse -O3 -pipe -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG
> - -DQT_THREAD_SUPPORT -I. -I../extra/kde322 -I/usr/kde/3.2/include
> - -I/usr/include/python2.3 -I/usr/qt/3/include -I/usr/X11R6/include -o
> moc_dcoppart0.o moc_dcoppart0.cpp
> g++ -shared -Wl,-soname,libdcopcmodule.so -Wl,-rpath,/usr/kde/3.2/lib
> - -Wl,-rpath,/usr/qt/3/lib -o libdcopcmodule.so dcoppart0.o moc_dcoppart0.o
> - -L../qt -L/usr/kde/3.2/lib -L/usr/lib/python2.3/site-packages
> -L/usr/qt/3/lib - -L/usr/X11R6/lib -lqtcmodule -lDCOP -lsip -lqt-mt -lXext
> -lX11 -lm -lpthread
> /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/
>bin/ld: cannot find -lqtcmodule
> collect2: ld returned 1 exit status
> make[1]: *** [libdcopcmodule.so] Fehler 1
> make[1]: Leaving directory
> `/var/tmp/portage/pykde-3.11_alpha6/work/PyKDE-3.11alpha6/dcop'
> make: *** [all] Fehler 2

If you switched from SIP v4 to SIP v3 you will need to rebuild PyQt first.

Phil




More information about the PyQt mailing list