[Qgis-developer] Python build problem on OSX

William Kyngesburye woklist at kyngchaos.com
Wed Dec 19 10:04:21 EST 2007


On Dec 19, 2007, at 4:13 AM, Martin Dobias wrote:

> I know that the way how the compilation of PyQGIS works now isn't
> optimal at all, however I wasn't able to figure out any better
> solution. Python modules sipconfig and pyqtconfig do all the hard work
> detecting correct parameters for compilation for all supported
> platforms/compilers.
>
> Looking at sipconfig I see it supports universal builds - try this:
> in configure.py.in add argument universal='/Developer/SDKs/ 
> MacOSX10.4u.sdk'
> to sipconfig.ModuleMakefile() constructor - when creating variables
> makefile_core and makefile_gui
> It should do exactly the same as Tom has written manually to  
> makefiles...
>
> Martin

I thought it might be something there.  Thanks.

Is it possible for the python cmakelists to see that a user specified - 
D CMAKE_OSX_ARCHITECTURES="ppc;i386" -D CMAKE_OSX_SYSROOT=whatever and  
add the universal option automatically (reusing CMAKE_OSX_SYSROOT and  
not just blindly forcing the 10.4u SDK)?


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

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy





More information about the Qgis-developer mailing list