[Qgis-developer] Python build problem on OSX

Martin Dobias wonder.sk at gmail.com
Wed Dec 19 11:51:16 EST 2007


On Dec 19, 2007 4:04 PM, William Kyngesburye <woklist at kyngchaos.com> wrote:
> On Dec 19, 2007, at 4:13 AM, Martin Dobias wrote:
>
> > 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)?

Yes, it's possible. See attached small patch for configure.py.in - it
_may_ work. I'm not at my computer neither have here my development
stuff so this is just blind trial that implements what you're
requesting...

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.py.in.diff
Type: text/x-patch
Size: 1084 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20071219/642d18a0/configure.py.in.bin


More information about the Qgis-developer mailing list