[QGIS-trac] [Quantum GIS] #1950: Python binary choice on OS X
(10.6) / Building bug
Quantum GIS
qgis at qgis.org
Thu Sep 24 13:32:40 EDT 2009
#1950: Python binary choice on OS X (10.6) / Building bug
---------------------------------------------------------+------------------
Reporter: vince | Owner: nobody
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone:
Component: Build/Install | Version: 1.3.0
Keywords: spatialite.c python | Platform_version: 10.6 (Snow Leopard)
Platform: OS X | Must_fix: No
Status_info: 0 |
---------------------------------------------------------+------------------
As usual, and after a summer break, I'm back on porting Qgis to Macports.
I selected the new release 1.3.0.
First, the build fails in spatialite.c. It appears that OS X 10.6, or my
configuration, does not like the call to "locale_charset ()", which
results in an undefined symbol at link time. However, bypassing the #ifdef
APPLE, thus doing the same as LINUX/UNIX, works fine.
Next, I would like to know how to override PYTHON_LIBRARY; I've tried to
force it with a suitable Cmake define, but it results as a mess, and I
don't understand exactly with what I should set it (a path? a flag?). This
relates to the next inquiry: how can I force Qgis to use a specific Python
binary? When I launch it from the Finder, it chooses system Python, which
causes an incompatibility; when I launch it within a terminal window with
a correct PATH env variable, it works.
Otherwise, I don't get the Grass plugin, but maybe it's because I lack
gdal-grass.
Thanks
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1950>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list