[PyQt] Missing pyqtconfig.py in latest PyQt

Luca Beltrame lbeltrame at kde.org
Wed Jun 11 23:44:00 BST 2014


In data martedì 10 giugno 2014 22:25:36, Phil Thompson ha scritto:

> It's created fine when I run configure.py.

Attempting to re-use configure.py with the most recent PyQt version fail, 
however. Here are the build logs:

[  115s] + export 'CXXFLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-
tables -g'
[  115s] + CXXFLAGS='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -
D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-
tables -g'
[  115s] + export 'CFLAGS=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -
D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-
tables -g'
[  115s] + CFLAGS='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -
D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-
tables -g'
[  115s] + python configure.py --confirm-license --qsci-api -u
[  295s] Determining the layout of your Qt installation...
[  295s] This is the GPL version of PyQt 4.11 (licensed under the GNU General 
Public
[  295s] License) for Python 2.7.6 on linux2.
[  295s] Found the license file pyqt-gpl.sip.
[  295s] Checking to see if the QtGui module should be built...
[  295s] Checking to see if the QtHelp module should be built...
[  295s] Checking to see if the QtMultimedia module should be built...
[  295s] Checking to see if the QtNetwork module should be built...
[  295s] Checking to see if the QtDBus module should be built...
[  295s] Checking to see if the QtDeclarative module should be built...
[  295s] Checking to see if the QtScript module should be built...
[  295s] Checking to see if the QtScriptTools module should be built...
[  295s] Checking to see if the QtXml module should be built...
[  295s] Checking to see if the QtOpenGL module should be built...
[  295s] Checking to see if the QtSql module should be built...
[  295s] Checking to see if the QtSvg module should be built...
[  295s] Checking to see if the QtTest module should be built...
[  295s] Checking to see if the QtWebKit module should be built...
[  295s] Checking to see if the QtXmlPatterns module should be built...
[  295s] Checking to see if the phonon module should be built...
[  295s] Checking to see if the QtAssistant module should be built...
[  295s] Checking to see if the QtDesigner module should be built...
[  295s] Checking to see if the QAxContainer module should be built...
[  295s] Checking to see if the dbus support module should be built...
[  295s] Qt v4.8.6 free edition is being used.
[  295s] SIP 4.16.1 is being used.
[  295s] The Qt header files are in /usr/include.
[  295s] The shared Qt libraries are in /usr/lib64.
[  295s] The Qt binaries are in /usr/bin.
[  295s] The Qt mkspecs directory is in /usr/share/qt4/.
[  295s] These PyQt modules will be built: QtCore, QtGui, QtHelp, 
QtMultimedia,
[  295s] QtNetwork, QtDBus, QtDeclarative, QtScript, QtScriptTools, QtXml, 
QtOpenGL,
[  295s] QtSql, QtSvg, QtTest, QtWebKit, QtXmlPatterns, phonon, QtDesigner.
[  295s] The PyQt Python package will be installed in
[  295s] /usr/lib64/python2.7/site-packages.
[  295s] PyQt is being built with generated docstrings.
[  295s] PyQt is being built with 'protected' redefined as 'public'.
[  295s] The Designer plugin will be installed in 
/usr/lib64/qt4/plugins/designer.
[  295s] The QScintilla API file will be installed in 
/usr/share/qt4/qsci/api/python.
[  295s] The dbus support module will be installed in
[  295s] /usr/lib/python2.7/site-packages/dbus/mainloop.
[  295s] The PyQt .sip files will be installed in /usr/share/sip/PyQt4.
[  295s] pyuic4, pyrcc4 and pylupdate4 will be installed in /usr/bin.
[  295s] Embedding sip flags...
[  295s] Generating the C++ source for the QtCore module...
[  295s] Creating the Makefile for the QtCore module...
[  295s] Generating the C++ source for the QtDeclarative module...
[  295s] Creating the Makefile for the QtDeclarative module...
[  295s] Generating the C++ source for the QtGui module...
[  295s] Creating the Makefile for the QtGui module...
[  295s] Generating the C++ source for the QtHelp module...
[  295s] Creating the Makefile for the QtHelp module...
[  295s] Generating the C++ source for the QtMultimedia module...
[  295s] Creating the Makefile for the QtMultimedia module...
[  295s] Generating the C++ source for the QtNetwork module...
[  295s] Creating the Makefile for the QtNetwork module...
[  295s] Generating the C++ source for the QtDBus module...
[  295s] Creating the Makefile for the QtDBus module...
[  295s] Generating the C++ source for the QtOpenGL module...
[  295s] Creating the Makefile for the QtOpenGL module...
[  295s] Generating the C++ source for the QtScript module...
[  295s] Creating the Makefile for the QtScript module...
[  295s] Generating the C++ source for the QtScriptTools module...
[  295s] Creating the Makefile for the QtScriptTools module...
[  295s] Generating the C++ source for the QtSql module...
[  295s] Creating the Makefile for the QtSql module...
[  295s] Generating the C++ source for the QtSvg module...
[  295s] Creating the Makefile for the QtSvg module...
[  295s] Generating the C++ source for the QtTest module...
[  295s] Creating the Makefile for the QtTest module...
[  295s] Generating the C++ source for the QtWebKit module...
[  295s] Creating the Makefile for the QtWebKit module...
[  295s] Generating the C++ source for the QtXml module...
[  295s] Creating the Makefile for the QtXml module...
[  295s] Generating the C++ source for the QtXmlPatterns module...
[  295s] Creating the Makefile for the QtXmlPatterns module...
[  295s] Generating the C++ source for the phonon module...
[  332s] Creating the Makefile for the phonon module...
[  332s] Generating the C++ source for the QtDesigner module...
[  332s] Creating the Makefile for the QtDesigner module...
[  332s] Generating the C++ source for the Qt module...
[  332s] Creating the Makefile for the Qt module...
[  332s] Creating QScintilla API file...
[  332s] Creating top level Makefile...
[  332s] Creating QPy support library for QtGui Makefile...
[  332s] Creating QPy support library for QtDBus Makefile...
[  332s] Creating QPy support library for QtDeclarative Makefile...
[  332s] Creating QPy support library for QtDesigner Makefile...
[  332s] Creating QPy support library for QtCore Makefile...
[  332s] Creating QPy support library for QtOpenGL Makefile...
[  332s] Creating QPy support libraries Makefile...
[  332s] Creating dbus support module Makefile...
[  332s] Creating pyuic4 wrapper...
[  332s] Creating pyuic4 Makefile...
[  332s] Creating pylupdate4 Makefile...
[  332s] Creating pyrcc4 Makefile...
[  332s] Creating Qt Designer plugin Makefile...
[  332s] Creating pyqtconfig.py...
[  332s] + make -j4
[  332s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/PyQt-x11-
gpl-4.11/qpy'
[  332s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/PyQt-x11-
gpl-4.11/qpy/QtGui'
[  332s] g++  -o w_qpygui     -L/usr/lib64 -lQtGui -L/usr/lib64 -
L/usr/X11R6/lib -lQtCore -lpthread
[  332s] /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/crt1.o: In 
function `_start':
[  332s] 
/home/abuild/rpmbuild/BUILD/glibc-2.19/csu/../sysdeps/x86_64/start.S:118: 
undefined reference to `main'
[  332s] collect2: error: ld returned 1 exit status

It however builds when using configure-ng.py.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140612/d2cb5a82/attachment-0001.sig>


More information about the PyQt mailing list