<div dir="ltr"><div><div><div><div><div><div>Trying to pyqtdeploy a native Mac OS app.<br>I have built static Python, Sip and PyQt as per [1],<br>I think correctly, however my $SYSROOT now contains<br></div>only include, lib, and share directories.<br><br></div><div>It does not contain a src directory, but the doc<br>for setting up Locations [2] seems to assume<br>that $SYSROOT/src/Python-3.4.2 will exist.<br><br>So instead I set the source directory to the original<br></div></div>Python-3.4.2 folder, the one where<br></div><div>I ran the pyqtdeploycli/qmake/make sequence.<br></div></div><div><br></div>When pyqtdeploy runs make, the first make of a .c file<br></div>fails with the message<br><br>

<p style="margin:0px;text-indent:0px"><span style="color:rgb(127,0,0)">../Downloads/Python-3.4.2/Modules/_sqlite/cache.c:261:9: error: use of undeclared identifier 'MODULE_NAME'</span></p><div><div><div><div><div><div><div><br></div><div>Looking at that source, many files in the Modules<br>directory use that identifier, but It is not defined in any<br>header file or the Makefile.<br></div><div><br></div><div>I conclude it should be defined as part of the Python<br>make or make install, as part of building $SYSROOT/src,<br>but that is not happening.<br><br></div><div>Probably I am doing something stupidly wrong,<br></div><div>I'd appreciate any suggestion of what.<br><br>Thanks,<br></div><div>Dave Cortesi<br><br>[1] <a href="http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html">http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html</a><br>[2] <a href="http://pyqt.sourceforge.net/Docs/pyqtdeploy/tutorial.html#defining-file-and-directory-locations">http://pyqt.sourceforge.net/Docs/pyqtdeploy/tutorial.html#defining-file-and-directory-locations</a><br></div></div></div></div></div></div></div></div>