[PyKDE] compile pyqt4 on linux (ubuntu)

Torsten Marek shlomme at gmx.net
Fri Dec 2 00:31:44 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

m.gehling at gmx.de schrieb:
> 
> i compile pyqt4 on linux without error, but my first import failed.
> can i test my installation or set debug options ?
> marc
> :~/My Downloads/PyQt4-gpl-snapshot-20051130$ python
> Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
> [GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> 
>>>> from PyQt4 import QtCore
> 
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: /usr/lib/python2.4/site-packages/PyQt4/QtCore.so: undefined
> symbol: _ZanRK9QBitArrayS1_
> ---------------

Hi,

I'm getting the same error on Debian, I've submitted a bug to the Debian BTS.
Once it's fixed, the fix should make it's way into Ubuntu as well. For now, it's
sufficient to comment out

QBitArray operator&(const QBitArray &, const QBitArray &);
QBitArray operator|(const QBitArray &, const QBitArray &);
QBitArray operator^(const QBitArray &, const QBitArray &);

in sip/QtCore/qbitarray.sip

greetings

Torsten

- --
Torsten Marek <shlomme at gmx.net>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDj5XwfMVFHqJEyFgRAtL+AJ9VNBROlkvcR+Mq8Y1ZbA3EPxAPNgCeO/BV
Osf8bl3DAi2e0s1FOh3PdmU=
=6aJC
-----END PGP SIGNATURE-----




More information about the PyQt mailing list