<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 11, 2015, at 3:14 AM, Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" class="">phil@riverbankcomputing.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">On 11/03/2015 10:08 am, Patrick Stinson wrote:<br class=""><blockquote type="cite" class="">Uh oh, once I get configure.py to complete successfully the make file<br class="">(and Qsci.pro) don’t have any sources, and the dylib is empty.<br class="">I am running latest yosemite with pyqt5/5.4.1 installed via homebrew.<br class="">Here is the output with the unmodified configure.py:<br class="">turin:Python patrick$ python3 configure.py --pyqt=PyQt5<br class="">Configuring QScintilla 2.8.3...<br class="">QScintilla 2.8.3 is being used.<br class="">The QScintilla .sip files will be installed in<br class="">/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/share/sip/PyQt5.<br class="">The QScintilla module will be installed in<br class="">/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/PyQt5.<br class="">PyQt 5.4 is being used.<br class="">Qt 5.4.1 is being used.<br class="">sip 4.16.5 is being used.<br class="">The sip executable is /usr/local/bin/sip.<br class="">The QScintilla module is being built with 'protected' redefined as 'public'.<br class="">The QScintilla API file will be installed in<br class="">/usr/local/Cellar/qt5/5.4.1/api/python.<br class="">Generating the C++ source for the Qsci module...<br class="">Error: Unable to create the C++ code.<br class="">turin:Python patrick$<br class="">Thoughts?<br class=""></blockquote><br class="">What's the output when running with --verbose?<br class=""><br class="">Does the problem go away with QScintilla v2.8.4?<br class=""></div></blockquote><div><br class=""></div><div>Running with 2.8.4 now:</div><div><br class=""></div><div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">turin:Python patrick$ python3 configure.py --pyqt=PyQt5 --verbose</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">Configuring QScintilla 2.8.4...</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">QScintilla 2.8.4 is being used.</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">The QScintilla .sip files will be installed in</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/share/sip/PyQt5.</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">The QScintilla module will be installed in</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/PyQt5.</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">PyQt 5.4 is being used.</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">Qt 5.4.1 is being used.</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">sip 4.16.5 is being used.</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">The sip executable is /usr/local/bin/sip.</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">The QScintilla module is being built with 'protected' redefined as 'public'.</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">The QScintilla API file will be installed in</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">/usr/local/Cellar/qt5/5.4.1/qsci/api/python.</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">Generating the C++ source for the Qsci module...</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">/usr/local/bin/sip -t WS_MACX -t Qt_5_4_1 -I /usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/share/sip/PyQt5 -a QScintilla2.api -P -o -c . sip/qscimod5.sip</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">sip: Unable to find file "QtGui/QtGuimod.sip"</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">Generating the .pro file for the Qsci module...</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">Creating the Makefile for the Qsci module...</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">/usr/local/bin/qmake Qsci.pro</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">WARNING: Failure to find: sipAPIQsci.h</div><div style="margin: 0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">turin:Python patrick$ </div></div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><br class="">Phil<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On Mar 11, 2015, at 1:57 AM, Patrick Stinson <<a href="mailto:patrickkidd@gmail.com" class="">patrickkidd@gmail.com</a>> wrote:<br class="">Hello, it’s been a long time.<br class="">I noticed that configure.py won’t run unless I disabled the file existence check at line 1265:<br class="">#    if not os.access(check_file, os.F_OK):<br class="">#        error("Unable to create the C++ code.")<br class="">it’s checking for the *existence* of ./Python/sipAPIQsci.h, which of course does not exist. Perhaps it should check    for write access instead?<br class="">Thanks for keeping this excellent project going for all of these years.<br class="">-P<br class=""></blockquote>_______________________________________________<br class="">PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" class="">PyQt@riverbankcomputing.com</a><br class=""><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" class="">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br class=""></blockquote>_______________________________________________<br class="">PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" class="">PyQt@riverbankcomputing.com</a><br class=""><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" class="">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></div></blockquote></div><br class=""></body></html>