[PyQt] errors installing on osx

Phil Thompson phil at riverbankcomputing.com
Sun Mar 25 22:15:21 BST 2012


On Sun, 25 Mar 2012 18:30:45 +0100, George Profenza <orgicus at gmail.com>
wrote:
> Hello,
> 
> N00b here, just managed to get in trouble installing PyQt on osx
(10.6.8).
> Sip was installed just fine, but ran into some errors
> compiling sipQtGuicmodule.cpp/.o
> 
> [code]
> george-profenzas-macbook:PyQt-mac-gpl-snapshot-4.9.2-72848d9b3dbe
george$
> make
> make[2]: Nothing to be done for `first'.
> make[2]: Nothing to be done for `first'.
> make[2]: Nothing to be done for `first'.
> make[2]: Nothing to be done for `first'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> make[1]: Nothing to be done for `all'.
> g++ -c -pipe -fPIC -O2 -Wall -W -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC
> -Dprotected=public -DQT_NO_DEBUG -DQT_PHONON_LIB -DQT_XMLPATTERNS_LIB
> -DQT_XML_LIB -DQT_WEBKIT_LIB -DQT_TEST_LIB -DQT_SQL_LIB
> -DQT_SCRIPTTOOLS_LIB -DQT_SCRIPT_LIB -DQT_OPENGL_LIB
-DQT_DECLARATIVE_LIB
> -DQT_NETWORK_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I.
>
-I/Users/george/Downloads/PyQt-mac-gpl-snapshot-4.9.2-72848d9b3dbe/qpy/QtCore
>
-I/Users/george/Downloads/PyQt-mac-gpl-snapshot-4.9.2-72848d9b3dbe/qpy/QtDeclarative
>
-I/Users/george/Downloads/PyQt-mac-gpl-snapshot-4.9.2-72848d9b3dbe/qpy/QtGui
>
-I/Users/george/Downloads/PyQt-mac-gpl-snapshot-4.9.2-72848d9b3dbe/qpy/QtOpenGL
>
-I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
> -I/Users/george/QtSDK/Simulator/Qt/gcc/mkspecs/default
> -I/Users/george/QtSDK/Simulator/Qt/gcc/lib/phonon.framework/Headers
>
-I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtXmlPatterns.framework/Headers
> -I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtXml.framework/Headers
> -I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtWebKit.framework/Headers
> -I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtTest.framework/Headers
> -I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtSvg.framework/Headers
> -I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtSql.framework/Headers
>
-I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtScriptTools.framework/Headers
> -I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtScript.framework/Headers
> -I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtOpenGL.framework/Headers
>
-I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtDeclarative.framework/Headers
> -I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtNetwork.framework/Headers
>
-I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtMultimedia.framework/Headers
> -I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtGui.framework/Headers
> -I/Users/george/QtSDK/Simulator/Qt/gcc/lib/QtCore.framework/Headers
> -I/Users/george/QtSDK/Simulator/Qt/gcc/include
>
-F/Users/george/Downloads/PyQt-mac-gpl-snapshot-4.9.2-72848d9b3dbe/qpy/QtCore
>
-F/Users/george/Downloads/PyQt-mac-gpl-snapshot-4.9.2-72848d9b3dbe/qpy/QtDeclarative
>
-F/Users/george/Downloads/PyQt-mac-gpl-snapshot-4.9.2-72848d9b3dbe/qpy/QtGui
>
-F/Users/george/Downloads/PyQt-mac-gpl-snapshot-4.9.2-72848d9b3dbe/qpy/QtOpenGL
> -F/Users/george/QtSDK/Simulator/Qt/gcc/lib -o sipQtGuicmodule.o
> sipQtGuicmodule.cpp
> sudo make
>
/Users/george/Downloads/PyQt-mac-gpl-snapshot-4.9.2-72848d9b3dbe/_qt/sipQtGuicmodule.cpp:
> In function ‘PyObject* func_qRegisterDraggedTypes(PyObject*,
PyObject*)’:

You seem to have run configure.py with the -g/--consolidation flag. Any
reason why?

Phil


More information about the PyQt mailing list