<div><div class="gmail_quote">On Sun, Oct 18, 2009 at 2:15 AM, Hans-Peter Jansen <span dir="ltr">&lt;<a href="mailto:hpj@urpla.net">hpj@urpla.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Am Sonntag 18 Oktober 2009 schrieb Melton Low:<br>
<div class="im">&gt; Executing PyQt4&#39;s configure.py on Mac OS X 10.4.11 continues to produce<br>
&gt; errors.<br>
&gt; This is on a PPC Mac running OS X 10.4.11:<br>
&gt; Python 2.6.3<br>
&gt; Qt 4.5.3 carbon version<br>
&gt; Sip 4.9.1 snapshots 20091015<br>
&gt; PyQt4 4.6.1 snapshots 20091014<br>
&gt;<br>
&gt; Configuration problem sharted with:<br>
&gt; Qt 4.5.3 carbon version<br>
&gt; Sip 4.9.1 snapshots 20091002<br>
&gt; PyQt4 4.6.1 snapshots 20091002<br>
&gt;<br>
&gt; Problem disappeared if I completely removed Qt and reinstalled an earlier<br>
&gt; version of Qt:<br>
&gt; Qt 4.5.2 carbon version<br>
&gt; Sip 4.9.1 snapshots 20091001<br>
&gt; PyQt4 4.6.1 snapshots 20091001<br>
&gt;<br>
&gt; I had posted the problem earlier.  If this is being worked on, please<br>
&gt; ignore this.  In case the new configure verbose output is useful I am<br>
&gt; including it as an attachment since it&#39;s quite lengthy.<br>
&gt;<br>
<br>
</div>That line looks suspicious:<br>
<br>
g++ -c -pipe -g -gdwarf-2 -arch<br>
i386 -Wall -W -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++<br>
 -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers<br>
 -I/usr/include/QtCore -I/usr/include -I. -F/Library/Frameworks -o qtdirs.o<br>
 qtdirs.cpp<br>
<br>
It looks like it is confused about two Qt installations. Remove one and try<br>
again.<br>
<br>
Pete<br>
<div><div></div><div class="h5">_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</div></div></blockquote></div><br></div><div>Hi Pete,</div><div><br></div><div>Thanks for looking into this.</div><div><br></div><div>Originally I upgraded Qt 4.5.3 on top of Qt 4.5.2.  That&#39;s when the problem started.  I also tried a clean build by removing Qt 4.5.2 completely including all the Sip and PyQt4 components inside the Python library site-packages folder.  Unless I missed a location with bits and pieces of Qt, there should only be one version of Qt the 4.5.3 version. When the configure failed, I removed Qt 4.5.3, reinstalled Qt 4.5.2, and reinstalled Sip then configured and build PyQt4 to completion.</div>
<div><br></div><div>As far as I can tell, on the Mac Qt is installed in several Qt subfolders under /Developer and in /Library/Frameworks.  It is also in /usr/local/Qt4.5.  There are also entries in /Library/Receipts which I believe the installer use to determine whether to do a new install or do an upgrade.  In the case of a clean build, I manually removed all the Qt subfolders in /Developer, removed all the folders starting with Qtxxxxx.frameworks and phonon.framework in /Library/Frameworks, and removed /usr/local/Qt4.5 as well as the entries in /Library/Receipts.  I also removed everything starting with sip* and the PyQt4 folder in the Python framework site-packages folder.</div>
<div><br></div><div>I did find under /Library/Frameworks/QtCore.framework/Versions/ a folder named &quot;4&quot; as well as two aliases named &quot;4.0&quot; and &quot;Current&quot; pointing to &quot;4&quot;.</div><div><br>
</div><div>I did not find a folder named QtCore in /usr/include.  If there is anything of Qt in /usr/include, I don&#39;t know what it is.</div><div><br></div><div>I did not find entries for Qt, Sip or PyQt  in the system preferences and in my user preferences areas.  If there are such entries, they don&#39;t have obvious names. </div>
<div><br></div><div>So I am not sure where you suspect another version may be lurking somewhere.  Could you point out on the suspicious line where you suspect contains another version?</div><div><br></div><div>Mel</div>