On Sat, Nov 15, 2008 at 5:03 AM, William Kyngesburye
<[EMAIL PROTECTED]> wrote:
> On Nov 14, 2008, at 7:04 PM, William Kyngesburye wrote:
>
>> Hmmm...  A possibility: compile and link statically as Qgis does now, use
>> install_name_tool to change the python link to drop the path (this is how
>> the Qt frameworks are initially).  The linker at runtime then will use
>> DYLD_FRAMEWORK_PATH and its internal default path to search for the python
>> binary.  A pseudo-dynamic linking, no need to fuss with dlopen() and
>> searching for python or a preference.  A user-installed python framework
>> will override the system python, as expected.
>
>
> Victory!
>
> I patched SIP to compile as a bundle, with no direct link to Python.
>  Rebuild PyQt and it followed.  Rebuild Qgis, and the qgis-python modules
> are also now correct.
>
> Then, changed libqgispython to drop the full path to Python binary (I built
> with system Python).

Glad to hear that! Thanks for the effort!

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

Reply via email to