<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal>I am trying to build PyQt 5.8.2 from source on Ubuntu 16.04<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Configure.py runs without error, but when I run make I get the following errors:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>make[1]: Leaving directory '/home/dave/Downloads/PyQt5_gpl-5.8.2/QtMultimediaWidgets'<o:p></o:p></p><p class=MsoNormal>cd QtNetwork/ && ( test -e Makefile || /usr/local/Qt-5.9.0/bin/qmake -o Makefile /home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/QtNetw<o:p></o:p></p><p class=MsoNormal>ork.pro ) && make -f Makefile <o:p></o:p></p><p class=MsoNormal>make[1]: Entering directory '/home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork'<o:p></o:p></p><p class=MsoNormal>g++ -c -pipe -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTI<o:p></o:p></p><p class=MsoNormal>ONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/python3.5m -I/usr/local/Qt-5.9.0/include -I<o:p></o:p></p><p class=MsoNormal>/usr/local/Qt-5.9.0/include/QtNetwork -I/usr/local/Qt-5.9.0/include/QtCore -I. -I/usr/local/Qt-5.9.0/mkspecs/linux-g++ -o sipQtNetwork<o:p></o:p></p><p class=MsoNormal>QNetworkRequest.o sipQtNetworkQNetworkRequest.cpp<o:p></o:p></p><p class=MsoNormal>/home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/sipQtNetworkQNetworkRequest.cpp: In function ‘PyObject* meth_QNetworkRequest_sslConfigu<o:p></o:p></p><p class=MsoNormal>ration(PyObject*, PyObject*)’:<o:p></o:p></p><p class=MsoNormal>/home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/sipQtNetworkQNetworkRequest.cpp:362:55: error: ‘const class QNetworkRequest’ has no mem<o:p></o:p></p><p class=MsoNormal>ber named ‘sslConfiguration’<o:p></o:p></p><p class=MsoNormal> sipRes = new ::QSslConfiguration(sipCpp->sslConfiguration());<o:p></o:p></p><p class=MsoNormal> ^<o:p></o:p></p><p class=MsoNormal>/home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/sipQtNetworkQNetworkRequest.cpp:362:73: error: invalid use of incomplete type ‘class QS<o:p></o:p></p><p class=MsoNormal>slConfiguration’<o:p></o:p></p><p class=MsoNormal> sipRes = new ::QSslConfiguration(sipCpp->sslConfiguration());<o:p></o:p></p><p class=MsoNormal> ^<o:p></o:p></p><p class=MsoNormal>In file included from /home/dave/Downloads/PyQt5_gpl-5.8.2/sip/QtNetwork/qnetworkrequest.sip:26:0:<o:p></o:p></p><p class=MsoNormal>/usr/local/Qt-5.9.0/include/QtNetwork/qnetworkrequest.h:51:7: note: forward declaration of ‘class QSslConfiguration’<o:p></o:p></p><p class=MsoNormal> class QSslConfiguration;<o:p></o:p></p><p class=MsoNormal> ^<o:p></o:p></p><p class=MsoNormal>/home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/sipQtNetworkQNetworkRequest.cpp: In function ‘PyObject* meth_QNetworkRequest_setSslConf<o:p></o:p></p><p class=MsoNormal>iguration(PyObject*, PyObject*)’:<o:p></o:p></p><p class=MsoNormal>/home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork/sipQtNetworkQNetworkRequest.cpp:388:21: error: ‘class QNetworkRequest’ has no member na<o:p></o:p></p><p class=MsoNormal>med ‘setSslConfiguration’<o:p></o:p></p><p class=MsoNormal> sipCpp->setSslConfiguration(*a0);<o:p></o:p></p><p class=MsoNormal> ^<o:p></o:p></p><p class=MsoNormal>Makefile:971: recipe for target 'sipQtNetworkQNetworkRequest.o' failed<o:p></o:p></p><p class=MsoNormal>make[1]: *** [sipQtNetworkQNetworkRequest.o] Error 1<o:p></o:p></p><p class=MsoNormal>make[1]: Leaving directory '/home/dave/Downloads/PyQt5_gpl-5.8.2/QtNetwork'<o:p></o:p></p><p class=MsoNormal>Makefile:295: recipe for target 'sub-QtNetwork-make_first-ordered' failed<o:p></o:p></p><p class=MsoNormal>make: *** [sub-QtNetwork-make_first-ordered] Error 2<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I do not have a lot of experience developing on Linux and could use some help. I’ve searched the errors I am getting in the hope that someone had posted a solution, but I didn’t have any luck.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m using Qt 5.9.0 which I have built from source.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks in advance for any help that is provided,<o:p></o:p></p><p class=MsoNormal>Dave Deters<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>