[Qgis-developer] Re: cmake error on OS X 10.6

William Kyngesburye woklist at kyngchaos.com
Sat Sep 18 11:19:55 EDT 2010


I just ran a trunk build from Xcode.  No patches for that Qgis SIP bug have been applied yet, so I had to do that ot my local source copy to get it to compile.  The PyQt bug mentioned there about utf8 *has* been applied to PyQt trunk.

2 ways to apply a diff: patch command and manually.  Since the patch is lines of text on a web page instead of a file download, this one is simple enough to apply manually, it's just deleting a bunch of lines.  Delete lines 268-318 of python/core/conversions.sip.

On Sep 17, 2010, at 10:04 PM, Matthew Denno wrote:

> Well, if I am understanding this correctly, it looks like this diff has already been applied to trunk.  However, it seems like this is where the problem might be.  
> 
> On Fri, Sep 17, 2010 at 10:04 PM, Matthew Denno <mgdenno at gmail.com> wrote:
> Update:  I removed all old SIP/PyQt installs (I think I got them all) as well as the python.org version of python.  Reinstalled everything from the Installation Guide, but alas I am still getting the same error.  I think I may have found the solution though, it looks like it may be a known bug https://trac.osgeo.org/qgis/ticket/2985.  There is a diff included that might fix it.  Is applying a diff difficult? (ha).  I will poke around the internet and see if I can find out how to do it.  Any direction would be appreciated.
> 
> 
> On Fri, Sep 17, 2010 at 6:33 PM, Matthew Denno <mgdenno at gmail.com> wrote:
> Thank so much to both of you for your input.  You both know much more about this than I do so I shall follow your lead.
> 
> I discovered that there is some guidance in the python documentation regarding uninstalling...and it agrees with Williams advice so I will do it.
> 
> 
> On Fri, Sep 17, 2010 at 6:25 PM, John C. Tull <john.tull at wildnevada.org> wrote:
> William knows much more about all of this than I do. With that said, I am a significant portion of the testing on OS X, and I have never used python.org. I would say dump it if you don't explicitly need it. Also, work out getting a build system for qgis that works, then start to tinker if you have to do so.
> 
> Cheers,
> John
> 
> On Sep 17, 2010, at 4:16 PM, William Kyngesburye wrote:
> 
> > There are 2 camps on this: system and python.org, though I don't want to start a debate about that here ;)  Both are valid, though I prefer the system version, and it's also the one most tested with Qgis as far as I know.
> >
> > If you want to uninstall python.org, deleting /Library/Frameworks/Python.framework is a start.  It probably also has added something to your PATH in your ~/.bash_profile.  And there also may be symlinks and scripts in /usr/local/bin, and maybe some headers or symlinks in /usr/local/include.


-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects."

- the wisdom of Tarzan







More information about the Qgis-developer mailing list