On Nov 14, 2008, at 10:20 AM, William Kyngesburye wrote:

Hmm, I started poking around more... Where DOES Qgis get its python compile flags from?

sipconfig.py:class ModuleMakefile(Makefile)

My python/core/makefile has:

LFLAGS = -headerpad_max_install_names -bundle -F/System/Library/ Frameworks -framework Python -arch ppc -arch i386

BOTH -bundle AND -framework Python are there. This is wrong - it's linking a bundle, but also linking directly to python, defeating the benefit of the bundle.

... Hmmm ...

I see a possible simple patch to sipconfig.py that can solve the problem at the root, so Qgis and even PyQt and SIP would be compiled correctly. No changes needed in Qgis.

I'll have to get back to it this evening...

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

"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy


_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to