[PyKDE] Help: PyQt compilation errors

Luca Fini lfini at arcetri.astro.it
Tue Nov 6 09:27:02 GMT 2001


When compiling PyQt I get a compilation error. I tried to keep everything
aligned as suggested in many posts relating to similar problems, but
something must be wrong all the same. I installed sip 2.4 with no
problems.

I'm running Linux RedHat 7.0 with gcc patched to the latest upgrades.

Here follows more details:

1. Error message (it is the second compile command after the "make"):

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.1
-I/usr/local/include/sip -I/usr/lib/qt-2.2.0/include -I/usr/X11R6/include
-fno-exceptions -O2 -c qtcmodule.cpp  -fPIC -DPIC -o qtcmodule.lo
qtcmodule.cpp: In function `PyObject *registerClasses (PyObject *, PyObject *)':
qtcmodule.cpp:9179: `Rounded' is not a member of type `QTabWidget'
qtcmodule.cpp:9180: `Triangular' is not a member of type `QTabWidget'
qtcmodule.cpp:10388: `TSCII' is not a member of type `QFont'
qtcmodule.cpp:10661: `AccelOverride' is not a member of type `QEvent'
qtcmodule.cpp:11295: `WGroupLeader' is not a member of type `Qt'


2.

lfini-lfini-95:ldd /usr/local/lib/libsip.so
        libqt.so.2 => /usr/lib/qt-2.2.0/lib/libqt.so.2 (0x40020000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40656000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4065f000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40676000)
        libc.so.6 => /lib/libc.so.6 (0x40744000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x4086e000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x4088b000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40ad0000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x40ae6000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40b07000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40b15000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40b34000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40b42000)
        libm.so.6 => /lib/libm.so.6 (0x40b86000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40ba6000)
        libdl.so.2 => /lib/libdl.so.2 (0x40bae000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40bb1000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40bc7000)

3. I run Python 2.1:

lfini-lfini-98:python -v
# /usr/lib/python2.1/site.pyc matches /usr/lib/python2.1/site.py
import site # precompiled from /usr/lib/python2.1/site.pyc
# /usr/lib/python2.1/os.pyc matches /usr/lib/python2.1/os.py
import os # precompiled from /usr/lib/python2.1/os.pyc
import posix # builtin
# /usr/lib/python2.1/posixpath.pyc matches /usr/lib/python2.1/posixpath.py
import posixpath # precompiled from /usr/lib/python2.1/posixpath.pyc
# /usr/lib/python2.1/stat.pyc matches /usr/lib/python2.1/stat.py
import stat # precompiled from /usr/lib/python2.1/stat.pyc
# /usr/lib/python2.1/UserDict.pyc matches /usr/lib/python2.1/UserDict.py
import UserDict # precompiled from /usr/lib/python2.1/UserDict.pyc
Python 2.1.1 (#1, Oct 16 2001, 14:04:16)
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-85)] on linux2


Many thanks for every suggestion.

						l.f.
-- 
--------------------------------------------------------------------------
       -- )     Luca Fini                            Tel: +39 055 2752 307
 ___    |\      Osservatorio Astrofisico di Arcetri  Fax: +39 055 2752 292
/   |   | |-_   L.go E.Fermi, 5 +-----------------------------------------
(___|___//___)  50125 Firenze  /   WWW: http://www.arcetri.astro.it/~lfini
 (_)      (_)   Italia        / e-mail: lfini at arcetri.astro.it
-----------------------------+--------------------------------------------






More information about the PyQt mailing list