[PyKDE] Can't compile PyQt 3.15

Phil Thompson phil at riverbankcomputing.co.uk
Mon Sep 19 09:54:52 BST 2005


> Hi!
> I try to compile PyQt (commercial) on linux but the compile always fails
> with
> an error like:
>
> g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT
> -I. -I/home/clearcase/extern_libs/gcc3/Python-2.4.1/include/python2.4
> -I/home/clearcase/extern_libs/shared/Python/include/python2.4
> -I/home/clearcase/extern_libs/gcc3/qt-3.2.3/include -I/usr/X11R6/include
> -o
> sipqtQDockArea.o sipqtQDockArea.cpp
> In file included from /usr/include/g++/map:68,
>                  from
> /home/clearcase/extern_libs/gcc3/qt-3.2.3/include/qmap.h:51,
>                  from
> /home/clearcase/extern_libs/gcc3/qt-3.2.3/include/qmime.h:43,
>                  from
> /home/clearcase/extern_libs/gcc3/qt-3.2.3/include/qevent.h:45,
>                  from sip/qt/qevent.sip:167,
>                  from sipqtQDockArea.cpp:19:
> /usr/include/g++/bits/stl_multimap.h:174: internal compiler error:
> Segmentation
>    fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.suse.de/feedback> for instructions.
> The bug is not reproduceable, so it is likely a hardware or OS problem
> make[1]: *** [sipqtQDockArea.o] Error 1
> make[1]: Leaving directory `/work/common/PyQt/PyQt-commercial-3.15/qt'
> make: *** [all] Error 2
>
> Any ideas or suggestions?
>
> Cheers, Marco
>
>
> PS:
> PyQt> g++ --version
> g++ (GCC) 3.3.4 (pre 3.3.5 20040809)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
> PyQt> sip -V
> 4.3.1 (4.3.1-SIP-4_3-362)

While I don't test against Qt versions that old, I'd be very surprised if
it was a PyQt problem. Given the error message implies a hardware problem,
I'd try on a different system.

Phil




More information about the PyQt mailing list