[QGIS-trac] [Quantum GIS] #1658: Python binding unavailable/MacOS X
univeral binaries (two bugs)
Quantum GIS
qgis at qgis.org
Mon Apr 27 09:26:50 EDT 2009
#1658: Python binding unavailable/MacOS X univeral binaries (two bugs)
------------------------------------------------+---------------------------
Reporter: vince | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone:
Component: Build/Install | Version: HEAD
Keywords: | Platform_version:
Platform: OS X | Must_fix: No
Status_info: 0 |
------------------------------------------------+---------------------------
For an unknown reason, the python/configure.py.in line 22 has a hardcoded
universal architecture (ppc, i386), so it cannot build four ways universal
binaries (Leopard types).
For the macports port, I've totally disabled the test (see the joined
patchfile). It works but for this:
the core.so and gui.so library which is dependant to libcore and libgui
retains the build location of these files instead of their final installed
location, so it is not possible to launch core.so once the build directory
has been erased:
> otool -L Contents/MacOS/share/qgis/python/qgis/core.so
Contents/MacOS/share/qgis/python/qgis/core.so:
/usr/pkg/var/macports/build/_Users_vincent_Developpement_ports_gis_qgis/work/qgis-1.1.0/build/src/core/libqgis_core.1.1.0.dylib
(compatibility version 1.1.0, current version 1.1.0)
[...]
> otool -L Contents/MacOS/share/qgis/python/qgis/gui.so
Contents/MacOS/share/qgis/python/qgis/gui.so:
/usr/pkg/var/macports/build/_Users_vincent_Developpement_ports_gis_qgis/work/qgis-1.1.0/build/src/core/libqgis_core.1.1.0.dylib
(compatibility version 1.1.0, current version 1.1.0)
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1658>
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