[PyKDE] compile pyqt4 on linux (ubuntu)

m.gehling at gmx.de m.gehling at gmx.de
Thu Dec 1 22:01:58 GMT 2005


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_ 

 --------------- 

export QTDIR=/usr/share/qt4
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QMAKESPEC=$QTDIR/mkspecs/linux-g++ 

:~/My Downloads/PyQt4-gpl-snapshot-20051130$ python configure.py -g 
/usr/include/qt4/Qt -q /usr/share/qt4 -o /usr/lib -n /usr/include/qscintilla
This is the GPL version of PyQt snapshot-20051130 (licensed under the GNU
General Public License) for Python 2.4.2 on linux2. 

Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license. 

Do you accept the terms of the license? yes
QScintilla 1.5.1 is being used.
Checking to see if the QtGui module should be built...
SIP snapshot-20051130 is being used.
These PyQt modules will be built: QtCore QtGui.
The PyQt modules will be installed in /usr/lib/python2.4/site-packages.
The PyQt .sip files will be installed in /usr/share/sip.
Qt v4.0.1 free edition is being used.
The Qt header files are in /usr/share/qt4/include.
The QtCore Qt library is in /usr/share/qt4/lib.
pyuic will be installed in /usr/bin.
pylupdate will be installed in /usr/bin.
Generating the C++ source for the QtCore module...
Creating the Makefile for the QtCore module...
Generating the C++ source for the QtGui module...
Creating the Makefile for the QtGui module...
Creating top level Makefile...
Creating pyqtconfig.py... 




More information about the PyQt mailing list