<div>Really cool. some error output, how can i fix them?</div><div><br></div><div><div><div>levi@c15:~/Downloads/PyQt-gpl-5.0$  /opt/python/bin/python configure.py --qmake /home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake --sip /opt/python/bin/sip --verbose</div><div>Querying qmake about your Qt installation...</div><div>Determining the details of your Qt installation...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o qtdetail.mk qtdetail.pro</div><div>make -f qtdetail.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o qtdetail.o qtdetail.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o qtdetail qtdetail.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5Core -lpthread </div><div>./qtdetail</div><div>This is the GPL version of PyQt 5.0 (licensed under the GNU General Public</div><div>License) for Python 3.3.2 on linux.</div><div><br></div><div>Type 'L' to view the license.</div><div>Type 'yes' to accept the terms of the license.</div><div>Type 'no' to decline the terms of the license.</div><div><br></div><div>Do you accept the terms of the license? yes</div><div>Found the license file pyqt-gpl.sip.</div><div>Checking to see if the QtGui module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtGui.mk cfgtest_QtGui.pro</div><div>make -f cfgtest_QtGui.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtGui.o cfgtest_QtGui.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtGui cfgtest_QtGui.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5Gui -lQt5Core -lGL -lpthread </div><div>/usr/bin/ld: cannot find -lGL</div><div>collect2: ld returned 1 exit status</div><div>make: *** [cfgtest_QtGui] Error 1</div><div>Checking to see if the QtHelp module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtHelp.mk cfgtest_QtHelp.pro</div><div>make -f cfgtest_QtHelp.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_HELP_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtHelp -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWidgets -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtHelp.o cfgtest_QtHelp.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -Wl,-rpath-link,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtHelp cfgtest_QtHelp.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5Help -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread </div><div>/usr/bin/ld: cannot find -lGL</div><div>collect2: ld returned 1 exit status</div><div>make: *** [cfgtest_QtHelp] Error 1</div><div>Checking to see if the QtMultimedia module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtMultimedia.mk cfgtest_QtMultimedia.pro</div><div>make -f cfgtest_QtMultimedia.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtMultimedia -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtNetwork -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtMultimedia.o cfgtest_QtMultimedia.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtMultimedia cfgtest_QtMultimedia.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5Multimedia -lQt5Network -lQt5Gui -lQt5Core -lGL -lpthread </div><div>/usr/bin/ld: cannot find -lGL</div><div>collect2: ld returned 1 exit status</div><div>make: *** [cfgtest_QtMultimedia] Error 1</div><div>Checking to see if the QtNetwork module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtNetwork.mk cfgtest_QtNetwork.pro</div><div>make -f cfgtest_QtNetwork.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtNetwork -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtNetwork.o cfgtest_QtNetwork.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtNetwork cfgtest_QtNetwork.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5Network -lQt5Core -lpthread </div><div>Checking to see if the QtOpenGL module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtOpenGL.mk cfgtest_QtOpenGL.pro</div><div>make -f cfgtest_QtOpenGL.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtOpenGL -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWidgets -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtOpenGL.o cfgtest_QtOpenGL.cpp</div><div>In file included from ../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtOpenGL/qgl.h:47:0,</div><div>                 from cfgtest_QtOpenGL.cpp:1:</div><div>../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui/qopengl.h:110:21: fatal error: GL/gl.h: No such file or directory</div><div>compilation terminated.</div><div>make: *** [cfgtest_QtOpenGL.o] Error 1</div><div>Checking to see if the QtPrintSupport module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtPrintSupport.mk cfgtest_QtPrintSupport.pro</div><div>make -f cfgtest_QtPrintSupport.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtPrintSupport -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWidgets -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtPrintSupport.o cfgtest_QtPrintSupport.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtPrintSupport cfgtest_QtPrintSupport.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread </div><div>/usr/bin/ld: cannot find -lGL</div><div>collect2: ld returned 1 exit status</div><div>make: *** [cfgtest_QtPrintSupport] Error 1</div><div>Checking to see if the QtSql module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtSql.mk cfgtest_QtSql.pro</div><div>make -f cfgtest_QtSql.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWidgets -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtSql -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtSql.o cfgtest_QtSql.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtSql cfgtest_QtSql.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5Widgets -lQt5Sql -lQt5Gui -lQt5Core -lGL -lpthread </div><div>/usr/bin/ld: cannot find -lGL</div><div>collect2: ld returned 1 exit status</div><div>make: *** [cfgtest_QtSql] Error 1</div><div>Checking to see if the QtSvg module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtSvg.mk cfgtest_QtSvg.pro</div><div>make -f cfgtest_QtSvg.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtSvg -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWidgets -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtSvg.o cfgtest_QtSvg.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtSvg cfgtest_QtSvg.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5Svg -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread </div><div>/usr/bin/ld: cannot find -lGL</div><div>collect2: ld returned 1 exit status</div><div>make: *** [cfgtest_QtSvg] Error 1</div><div>Checking to see if the QtTest module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtTest.mk cfgtest_QtTest.pro</div><div>make -f cfgtest_QtTest.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"/home/levi/Downloads/PyQt-gpl-5.0\" -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWidgets -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtTest -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtTest.o cfgtest_QtTest.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtTest cfgtest_QtTest.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5Widgets -lQt5Test -lQt5Gui -lQt5Core -lGL -lpthread </div><div>/usr/bin/ld: cannot find -lGL</div><div>collect2: ld returned 1 exit status</div><div>make: *** [cfgtest_QtTest] Error 1</div><div>Checking to see if the QtWebKit module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtWebKit.mk cfgtest_QtWebKit.pro</div><div>make -f cfgtest_QtWebKit.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWebKit -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtNetwork -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtWebKit.o cfgtest_QtWebKit.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -Wl,-rpath-link,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtWebKit cfgtest_QtWebKit.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5WebKit -lQt5Network -lQt5Gui -lQt5Core -lGL -lpthread </div><div>/usr/bin/ld: cannot find -lGL</div><div>collect2: ld returned 1 exit status</div><div>make: *** [cfgtest_QtWebKit] Error 1</div><div>Checking to see if the QtWebKitWidgets module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtWebKitWidgets.mk cfgtest_QtWebKitWidgets.pro</div><div>make -f cfgtest_QtWebKitWidgets.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_WEBKIT_LIB -DQT_QML_LIB -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_SENSORS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWebKitWidgets -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtQuick -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtOpenGL -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtPrintSupport -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWebKit -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtQml -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWidgets -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtNetwork -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtSensors -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtWebKitWidgets.o cfgtest_QtWebKitWidgets.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -Wl,-rpath-link,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtWebKitWidgets cfgtest_QtWebKitWidgets.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5WebKitWidgets -lQt5Quick -lQt5OpenGL -lQt5PrintSupport -lQt5WebKit -lQt5Qml -lQt5Widgets -lQt5Network -lQt5Sensors -lQt5Gui -lQt5Core -lGL -lpthread </div><div>/usr/bin/ld: cannot find -lGL</div><div>collect2: ld returned 1 exit status</div><div>make: *** [cfgtest_QtWebKitWidgets] Error 1</div><div>Checking to see if the QtWidgets module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtWidgets.mk cfgtest_QtWidgets.pro</div><div>make -f cfgtest_QtWidgets.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWidgets -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtWidgets.o cfgtest_QtWidgets.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtWidgets cfgtest_QtWidgets.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread </div><div>/usr/bin/ld: cannot find -lGL</div><div>collect2: ld returned 1 exit status</div><div>make: *** [cfgtest_QtWidgets] Error 1</div><div>Checking to see if the QtXmlPatterns module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtXmlPatterns.mk cfgtest_QtXmlPatterns.pro</div><div>make -f cfgtest_QtXmlPatterns.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtXmlPatterns -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtNetwork -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtXmlPatterns.o cfgtest_QtXmlPatterns.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtXmlPatterns cfgtest_QtXmlPatterns.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5XmlPatterns -lQt5Network -lQt5Core -lpthread </div><div>Checking to see if the QtDesigner module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtDesigner.mk cfgtest_QtDesigner.pro</div><div>make -f cfgtest_QtDesigner.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_DESIGNER_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtDesigner -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtWidgets -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtXml -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtGui -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtDesigner.o cfgtest_QtDesigner.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtDesigner cfgtest_QtDesigner.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5Designer -lQt5Widgets -lQt5Xml -lQt5Gui -lQt5Core -lGL -lpthread </div><div>/usr/bin/ld: cannot find -lGL</div><div>collect2: ld returned 1 exit status</div><div>make: *** [cfgtest_QtDesigner] Error 1</div><div>Checking to see if the QAxContainer module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QAxContainer.mk cfgtest_QAxContainer.pro</div><div>Project ERROR: Unknown module(s) in QT: axcontainer</div><div>Checking to see if the QtDBus module should be built...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake -o cfgtest_QtDBus.mk cfgtest_QtDBus.pro</div><div>make -f cfgtest_QtDBus.mk</div><div>g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_CORE_LIB -I../../apps/Qt5.1.0/5.1.0/gcc_64/mkspecs/linux-g++ -I. -I../../apps/Qt5.1.0/5.1.0/gcc_64/include -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtDBus -I../../apps/Qt5.1.0/5.1.0/gcc_64/include/QtCore -I. -o cfgtest_QtDBus.o cfgtest_QtDBus.cpp</div><div>g++ -Wl,-O1 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64 -Wl,-rpath,/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/lib -o cfgtest_QtDBus cfgtest_QtDBus.o   -L/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/lib -lQt5DBus -lQt5Core -lpthread </div><div>Checking to see if the dbus support module should be built...</div><div>pkg-config --cflags-only-I --libs dbus-1</div><div>DBus v1 does not seem to be installed.</div><div>Qt v5.1.0 (Open Source) is being used.</div><div>The qmake executable is /home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake.</div><div>Qt is built as a shared library.</div><div>SIP 4.14.7 is being used.</div><div>The sip executable is /opt/python/bin/sip.</div><div>These PyQt5 modules will be built: QtCore, QtNetwork, QtXmlPatterns, QtDBus.</div><div>The PyQt5 Python package will be installed in</div><div>/opt/python/lib/python3.3/site-packages.</div><div>PyQt5 is being built with generated docstrings.</div><div>PyQt5 is being built with 'protected' redefined as 'public'.</div><div>The Designer plugin will be installed in</div><div>/home/levi/apps/Qt5.1.0//5.1.0/gcc_64/plugins/designer.</div><div>The PyQt5 .sip files will be installed in /opt/python/share/sip/PyQt5.</div><div>pyuic5, pyrcc5 and pylupdate5 will be installed in /opt/python/bin.</div><div>The interpreter used by pyuic5 is /opt/python/bin/python.</div><div>Embedding sip flags...</div><div>Generating the .pro file for the QPy support library for QtCore...</div><div>Generating the Makefile for the QPy support library for QtCore...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake w_qpycore.pro</div><div>Generating the C++ source for the QtCore module...</div><div>/opt/python/bin/sip -w -x VendorID -t WS_X11 -t Qt_5_0_0 -o -P -a QtCore.api -c /home/levi/Downloads/PyQt-gpl-5.0/QtCore -I sip -I /home/levi/Downloads/PyQt-gpl-5.0/sip /home/levi/Downloads/PyQt-gpl-5.0/sip/QtCore/QtCoremod.sip</div><div>Generating the .pro file for the QtCore module...</div><div>Generating the Makefile for the QtCore module...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake QtCore.pro</div><div>Generating the C++ source for the QtNetwork module...</div><div>/opt/python/bin/sip -w -x VendorID -t WS_X11 -t Qt_5_0_0 -o -P -a QtNetwork.api -c /home/levi/Downloads/PyQt-gpl-5.0/QtNetwork -I sip -I /home/levi/Downloads/PyQt-gpl-5.0/sip /home/levi/Downloads/PyQt-gpl-5.0/sip/QtNetwork/QtNetworkmod.sip</div><div>Generating the .pro file for the QtNetwork module...</div><div>Generating the Makefile for the QtNetwork module...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake QtNetwork.pro</div><div>Generating the C++ source for the QtXmlPatterns module...</div><div>/opt/python/bin/sip -w -x VendorID -t WS_X11 -t Qt_5_0_0 -o -P -a QtXmlPatterns.api -c /home/levi/Downloads/PyQt-gpl-5.0/QtXmlPatterns -I sip -I /home/levi/Downloads/PyQt-gpl-5.0/sip /home/levi/Downloads/PyQt-gpl-5.0/sip/QtXmlPatterns/QtXmlPatternsmod.sip</div><div>Generating the .pro file for the QtXmlPatterns module...</div><div>Generating the Makefile for the QtXmlPatterns module...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake QtXmlPatterns.pro</div><div>Generating the .pro file for the QPy support library for QtDBus...</div><div>Generating the Makefile for the QPy support library for QtDBus...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake w_qpydbus.pro</div><div>Generating the C++ source for the QtDBus module...</div><div>/opt/python/bin/sip -w -x VendorID -t WS_X11 -t Qt_5_0_0 -o -P -a QtDBus.api -c /home/levi/Downloads/PyQt-gpl-5.0/QtDBus -I sip -I /home/levi/Downloads/PyQt-gpl-5.0/sip /home/levi/Downloads/PyQt-gpl-5.0/sip/QtDBus/QtDBusmod.sip</div><div>Generating the .pro file for the QtDBus module...</div><div>Generating the Makefile for the QtDBus module...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake QtDBus.pro</div><div>Generating the .pro file for the QPy support libraries...</div><div>Generating the Makefile for the QPy support libraries...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake qpy.pro</div><div>Generating the C++ source for the Qt module...</div><div>/opt/python/bin/sip -w -x VendorID -t WS_X11 -t Qt_5_0_0 -o -P -c /home/levi/Downloads/PyQt-gpl-5.0/Qt -I sip -I /home/levi/Downloads/PyQt-gpl-5.0/sip sip/Qt/Qtmod.sip</div><div>Generating the .pro file for the Qt module...</div><div>Generating the Makefile for the Qt module...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake Qt.pro</div><div>Generating the .pro file for pylupdate5...</div><div>Generating the Makefile for pylupdate5...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake pylupdate5.pro</div><div>Generating the .pro file for pyrcc5...</div><div>Generating the Makefile for pyrcc5...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake pyrcc5.pro</div><div>Generating the pyuic5 wrapper...</div><div>Generating the top-level .pro file...</div><div>Generating the top-level Makefile...</div><div>/home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake PyQt5.pro</div><div>Making the pyuic5 wrapper executable...</div></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "(PyQt)Phil Thompson"<phil@riverbankcomputing.com>;</div><div><b>发送时间:</b> 2013年7月15日(星期一) 晚上6:03</div><div><b>收件人:</b> "levinie"<levinie@qq.com>; <wbr></div><div><b>抄送:</b> "PyQt"<pyqt@riverbankcomputing.com>; <wbr></div><div><b>主题:</b> Re: 回复: [PyQt] PyQt5.QtGui  can't be imported</div></div><div><br></div>On Mon, 15 Jul 2013 17:59:01 +0800, "levinie" <levinie@qq.com> wrote:<br>> Thanks for your help.<br>> I pass this to configure.py:<br>> /opt/python/bin/python3 configure.py --qmake<br>> /home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake --sip /opt/python/bin/sip<br>> <br>> <br>> Here is the output:<br>> <br>> <br>> DBus v1 does not seem to be installed.<br>> Qt v5.1.0 (Open Source) is being used.<br>> The qmake executable is /home/levi/apps/Qt5.1.0/5.1.0/gcc_64/bin/qmake.<br>> Qt is built as a shared library.<br>> SIP 4.14.7 is being used.<br>> The sip executable is /opt/python/bin/sip.<br>> These PyQt5 modules will be built: QtCore, QtNetwork, QtXmlPatterns,<br>> QtDBus.<br><br>You need to run it again with the --verbose flag to see why the additional<br>modules are not being built - then fix your installation.<br><br>Phil<br>.<br></div>