Hi Phil, On Fri, May 24, 2013 at 10:34 AM, Phil Thompson <p...@riverbankcomputing.com > wrote:
> On Tue, 21 May 2013 11:12:59 -0600, Larry Shaffer <lar...@dakotacarto.com> > wrote: > > Hi Phil, > > > > On Fri, Apr 12, 2013 at 4:28 AM, Phil Thompson > > <p...@riverbankcomputing.com>wrote: > > > >> On Thu, 11 Apr 2013 17:21:37 -0600, Larry Shaffer > >> <lar...@dakotacarto.com> > >> wrote: > >> > Hi, > >> > > >> > Trying to get the latest PyQt4 4.10 to build but running into this > >> > error > >> > [0]. > >> > > >> > Using sip 4.14.5, Qt 4.8.4 on Mac 10.7.5 with XCode 4.5.1's default > >> > compiler (from command line). > >> > > >> > [0] http://pastebin.com/as5SkZMP > >> > >> You probably have a mismatch between the sip executable being used to > >> generate the code and the sip.h that the generated code #includes. > >> > > > > Finally got back to this. Indeed the issue was a different header being > > included. I had (evidently) accidentally installed sip 4.14.0 in the Mac > > System path before (I usually prefix to /usr/local). > > > > However, I did notice an issue when configuring/installing PyQt4, where > it > > did not seems to honor the configured .sip dest dir. > > > > sip build configure: > > python2.7 configure.py -d /Library/Python/2.7/site-packages \ > > -b /usr/local/bin -e /usr/local/include -v /usr/local/share/sip > > > > PyQt4 build configure: > > python2.7 configure.py -d /Library/Python/2.7/site-packages \ > > -b /usr/local/bin -n /usr/local/Qt4.8/qsci > > > > The .sip files for PyQt4 were placed in: > > /System/Library/Frameworks/Python.framework/Versions/2.7/share/sip/PyQt4 > > not: > > /usr/local/share/sip/PyQt4 > > > > specifically adding the following to the PyQt4 build configure line > worked: > > -v /usr/local/share/sip/PyQt4 > > > > This was with both configure.py and configure-ng.py. Shouldn't the .sip > > dest dir be picked up from sip as a default for building PyQt4? > > Works fine for me with configure.py. It's not supposed to work with > configure-ng.py because it doesn't use the sipconfig.py module. > Are you saying the .sip dest dir is being picked up with sip installed in /usr/local (as above), then compiling PyQt4, on a Mac? Thanks for the explanation about configure-ng.py. Looks like specifically setting the dest dir is the best approach, regardless of configure method used. Regards, Larry Phil >
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt