<div dir="ltr">G'day,<div><br></div><div>I'm compiled Qt 5.9.0 on my Raspberry Pi, as I required an EGLFS environment for displaying graphics without the X window. Upon (seemingly) successfully compiling and installing Qt 5.9.0, I've then compiled and installed Python 3.6.2 also from source. Following Python, I compiled and installed SIP.</div><div><br></div><div>I've downloaded, unpacked and attempted to install PyQt5, but am running into errors. I've used the --qmake and --sip flags in the ./configure command to point to the required executables, which appears to have worked. I receive the following strange line when checking whether or not to build QtGui:</div><div><br></div><div><span id="gmail-docs-internal-guid-a6b5875d-9d0f-592f-c5b6-110d3f89ec44"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Checking to see if the QtGui module should be built...</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Disabled QtGui features: P, y, Q, t, _, D, e, s, k, t, o, p, _, O, p, e, n, G, </span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">L</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span></span></div><div><span><b><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br></span></b></span></div><div><span><span style="font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">The build continues, but throws the following final lines in the 'make' command:</span></span></div><div><span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br></span></span></div><div><span id="gmail-docs-internal-guid-a6b5875d-9d12-c644-b961-bcea7f1cef90"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">In file included from /home/pi/PyQt5_gpl-5.9/sip/QtGui/qopenglshaderprogram.sip:341:0,</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">                 from sipQtGuiQAbstractTextDocumentLayoutSelection.cpp:24:</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">../qpy/QtGui/qpyopengl_api.h:70:53: error: ‘GLdouble’ does not name a type</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> PyObject *qpyopengl_from_GLdouble(int *eflag, const GLdouble *array,</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">                                                     ^</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">In file included from /home/pi/PyQt5_gpl-5.9/sip/QtGui/qopenglshaderprogram.sip:341:0,</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">                 from sipQtGuiQAbstractTextDocumentLayout.cpp:24:</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">../qpy/QtGui/qpyopengl_api.h:70:53: error: ‘GLdouble’ does not name a type</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> PyObject *qpyopengl_from_GLdouble(int *eflag, const GLdouble *array,</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">                                                     ^</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">In file included from /home/pi/PyQt5_gpl-5.9/sip/QtGui/qopenglshaderprogram.sip:341:0,</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">                 from sipQtGuiQAbstractTextDocumentLayoutPaintContext.cpp:24:</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">../qpy/QtGui/qpyopengl_api.h:70:53: error: ‘GLdouble’ does not name a type</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> PyObject *qpyopengl_from_GLdouble(int *eflag, const GLdouble *array,</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">                                                     ^</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">In file included from /home/pi/PyQt5_gpl-5.9/sip/QtGui/qopenglshaderprogram.sip:341:0,</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">                 from sipQtGuiQAbstractOpenGLFunctions.cpp:24:</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">../qpy/QtGui/qpyopengl_api.h:70:53: error: ‘GLdouble’ does not name a type</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"> PyObject *qpyopengl_from_GLdouble(int *eflag, const GLdouble *array,</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">                                                     ^</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Makefile:1336: recipe for target 'sipQtGuiQAbstractOpenGLFunctions.o' failed</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">make[1]: *** [sipQtGuiQAbstractOpenGLFunctions.o] Error 1</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">make[1]: *** Waiting for unfinished jobs....</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Makefile:1705: recipe for target 'sipQtGuiQAbstractTextDocumentLayoutSelection.o' failed</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">make[1]: *** [sipQtGuiQAbstractTextDocumentLayoutSelection.o] Error 1</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Makefile:1584: recipe for target 'sipQtGuiQAbstractTextDocumentLayoutPaintContext.o' failed</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">make[1]: *** [sipQtGuiQAbstractTextDocumentLayoutPaintContext.o] Error 1</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Makefile:1463: recipe for target 'sipQtGuiQAbstractTextDocumentLayout.o' failed</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">make[1]: *** [sipQtGuiQAbstractTextDocumentLayout.o] Error 1</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">make[1]: Leaving directory '/home/pi/PyQt5_gpl-5.9/QtGui'</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Makefile:114: recipe for target 'sub-QtGui-make_first-ordered' failed</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br class="gmail-kix-line-break"></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">make: *** [sub-QtGui-make_first-ordered] Error 2</span></span><span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br></span></span></div><div><span><b><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br></span></b></span></div><div><font color="#000000" face="Arial"><span style="white-space:pre-wrap">When I then run the 'make install' command I receive the following errors:</span></font></div><div><br></div><div><font color="#000000" face="Arial"><div><span style="font-size:14.6667px;white-space:pre-wrap">In file included from /home/pi/PyQt5_gpl-5.9/sip/QtGui/qopenglshaderprogram.sip:341:0,</span></div><div><span style="font-size:14.6667px;white-space:pre-wrap">                 from sipQtGuiQAbstractOpenGLFunctions.cpp:24:</span></div><div><span style="font-size:14.6667px;white-space:pre-wrap">../qpy/QtGui/qpyopengl_api.h:70:53: error: ‘GLdouble’ does not name a type</span></div><div><span style="font-size:14.6667px;white-space:pre-wrap"> PyObject *qpyopengl_from_GLdouble(int *eflag, const GLdouble *array,</span></div><div><span style="font-size:14.6667px;white-space:pre-wrap">                                                     ^</span></div><div><span style="font-size:14.6667px;white-space:pre-wrap">Makefile:1336: recipe for target 'sipQtGuiQAbstractOpenGLFunctions.o' failed</span></div><div><span style="font-size:14.6667px;white-space:pre-wrap">make[1]: *** [sipQtGuiQAbstractOpenGLFunctions.o] Error 1</span></div><div><span style="font-size:14.6667px;white-space:pre-wrap">make[1]: Leaving directory '/home/pi/PyQt5_gpl-5.9/QtGui'</span></div><div><span style="font-size:14.6667px;white-space:pre-wrap">Makefile:138: recipe for target 'sub-QtGui-install_subtargets-ordered' failed</span></div><div><span style="font-size:14.6667px;white-space:pre-wrap">make: *** [sub-QtGui-install_subtargets-ordered] Error 2</span></div><div style="font-size:14.6667px;white-space:pre-wrap"><br></div><div style="white-space:pre-wrap">At this point I can start Python3.6 and import PyQt5 successfully (so far as the interpreter doesn't raise any errors), as well as PyQt5.QtCore, but none of the other modules (such as QtGui) seem to exist.</div><div style="white-space:pre-wrap"><br></div><div style="white-space:pre-wrap">Can anyone point me in the right direction? This is my first attempt at building packages from source and I'm a little unsure as to where to start trying to resolve these issues.</div><div style="white-space:pre-wrap"><br></div><div style="white-space:pre-wrap">Many thanks,</div><div style="white-space:pre-wrap"><br></div><div style="white-space:pre-wrap">Jamie</div></font></div></div>