Re: [PyQt] Build error with PyQt4 4.10 on Mac 10.7.5
On Fri, 24 May 2013 11:49:28 -0600, Larry Shaffer wrote: > Hi Phil, > > On Fri, May 24, 2013 at 10:34 AM, Phil Thompson > > wrote: > >> On Tue, 21 May 2013 11:12:59 -0600, Larry Shaffer >> >> wrote: >> > Hi Phil, >> > >> > On Fri, Apr 12, 2013 at 4:28 AM, Phil Thompson >> > wrote: >> > >> >> On Thu, 11 Apr 2013 17:21:37 -0600, Larry Shaffer >> >> >> >> 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? Yes. > 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 listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Build error with PyQt4 4.10 on Mac 10.7.5
Hi Phil, On Fri, May 24, 2013 at 10:34 AM, Phil Thompson wrote: > On Tue, 21 May 2013 11:12:59 -0600, Larry Shaffer > wrote: > > Hi Phil, > > > > On Fri, Apr 12, 2013 at 4:28 AM, Phil Thompson > > wrote: > > > >> On Thu, 11 Apr 2013 17:21:37 -0600, Larry Shaffer > >> > >> 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 listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Build error with PyQt4 4.10 on Mac 10.7.5
On Tue, 21 May 2013 11:12:59 -0600, Larry Shaffer wrote: > Hi Phil, > > On Fri, Apr 12, 2013 at 4:28 AM, Phil Thompson > wrote: > >> On Thu, 11 Apr 2013 17:21:37 -0600, Larry Shaffer >> >> 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. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Build error with PyQt4 4.10 on Mac 10.7.5
Hi Phil, On Fri, Apr 12, 2013 at 4:28 AM, Phil Thompson wrote: > On Thu, 11 Apr 2013 17:21:37 -0600, Larry Shaffer > 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? Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota > > Phil > ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Build error with PyQt4 4.10 on Mac 10.7.5
On Thu, 11 Apr 2013 17:21:37 -0600, Larry Shaffer 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. Phil ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Build error with PyQt4 4.10 on Mac 10.7.5
I wonder if there is some sort of clang issue? I recently compile PyQt 4.10, everything same versions except Xcode 4.3.3. clang 4.0 there. When was the last time you successfully compiled PyQt? I've been thinking about updating my Xcode. I only just realized that Xcode 4.4 & 4.5 work on Lion. (I thought for a while that the latest version of Xcode was compatible with the current system at the time, I think earlier versions were so limited) Maybe I'll do it this weekend... I see there is a newer Xcode than your 4.5.1. 4.5.2, and even a 4.6.1. Maybe it's a recent clang bug that's fixed? On Apr 11, 2013, at 6:54 PM, Larry Shaffer wrote: > Hi, > > On Thu, Apr 11, 2013 at 5:21 PM, Larry Shaffer 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). > > Also, I get the same error when trying to compile PyQt-mac-gpl-4.9.6. > > > [0] http://pastebin.com/as5SkZMP > > Regards, > > Larry Shaffer > Dakota Cartography > Black Hills, South Dakota > > ___ > PyQt mailing listPyQt@riverbankcomputing.com > http://www.riverbankcomputing.com/mailman/listinfo/pyqt - William Kyngesburye http://www.kyngchaos.com/ "Oh, look, I seem to have fallen down a deep, dark hole. Now what does that remind me of? Ah, yes - life." - Marvin ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Build error with PyQt4 4.10 on Mac 10.7.5
Hi, On Thu, Apr 11, 2013 at 5:21 PM, Larry Shaffer 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). > Also, I get the same error when trying to compile PyQt-mac-gpl-4.9.6. > [0] http://pastebin.com/as5SkZMP > > Regards, > > Larry Shaffer > Dakota Cartography > Black Hills, South Dakota > ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyQt] Build error with PyQt4 4.10 on Mac 10.7.5
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 Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt