[PyQt] Couldn't compile PyQt 3.17.2

Phil Thompson phil at riverbankcomputing.co.uk
Tue Aug 14 11:18:13 BST 2007


On Tuesday 14 August 2007 9:46 am, midudek1 at poczta.onet.pl wrote:
> Hi ! :)
> Unfortunately i couldn't compile PyQt. The error says
>
> Generating the C++ source for the qtxml module...
> Creating the Makefile for the qtxml module...
> Creating top level Makefile...
> Creating pyuic Makefile...
> Creating pylupdate Makefile...
> Creating pyqtconfig.py...
> make[1]: Entering directory
> `/var/tmp/portage/dev-python/PyQt-3.17.2/work/PyQt-x11-gpl-3.17.2/qt'
> i686-pc-linux-gnu-g++ -c -pipe -fPIC -Os -march=athlon-xp -pipe -DNDEBUG
> -DG_DISABLE_ASSERT -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4
> -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o
> sipqtcmodule.o sipqtcmodule.cpp i686-pc-linux-gnu-g++ -c -pipe -fPIC -Os
> -march=athlon-xp -pipe -DNDEBUG -DG_DISABLE_ASSERT -fno-strict-aliasing
> -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I.
> -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include
> -I/usr/X11R6/include -o sipqtQPtrList.o sipqtQPtrList.cpp
> i686-pc-linux-gnu-g++ -c -pipe -fPIC -Os -march=athlon-xp -pipe -DNDEBUG
> -DG_DISABLE_ASSERT -fno-strict-aliasing -Wall -W -D_REENTRANT -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -I. -I/usr/include/python2.4
> -I/usr/qt/3/mkspecs/linux-g++ -I/usr/qt/3/include -I/usr/X11R6/include -o
> sipqtQWorkspace.o sipqtQWorkspace.cpp sip/qt/qwidgetlist.sip:38:26: error:
> sipqtQWidget.h: No such file or directory sip/qt/qobjectlist.sip:38:26:
> error: sipqtQObject.h: No such file or directory sip/qt/qdir.sip:47:28:
> error: sipqtQFileInfo.h: No such file or directory make[1]: ***
> [sipqtQWorkspace.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** [sipqtcmodule.o] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/dev-python/PyQt-3.17.2/work/PyQt-x11-gpl-3.17.2/qt' make:
> *** [all] Error 2
>  *
>  * ERROR: dev-python/PyQt-3.17.2 failed.
>  * Call stack:
>  *   ebuild.sh, line 1648:   Called dyn_compile
>  *   ebuild.sh, line 988:   Called qa_call 'src_compile'
>  *   ebuild.sh, line 44:   Called src_compile
>  *   PyQt-3.17.2.ebuild, line 45:   Called die
>  *
>  * emake failed
>  * If you need support, post the topmost build error, and the call stack if
> relevant. * A complete build log is located at
> '/var/tmp/portage/dev-python/PyQt-3.17.2/temp/build.log'. *
>
>
> What should i do to make it work ? Regards Michal

Raise a bug report with Gentoo.

Phil


More information about the PyQt mailing list