[QGIS-trac] Re: [Quantum GIS] #1950: Python binary choice on OS X (10.6) / Building bug

Quantum GIS qgis at qgis.org
Fri Sep 25 09:25:41 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              
      Resolution:                                             |      Keywords:  spatialite.c python
Platform_version:  10.6 (Snow Leopard)                        |      Platform:  OS X               
        Must_fix:  No                                         |   Status_info:  0                  
--------------------------------------------------------------+-------------
Comment (by vince):

 Replying to [comment:7 kyngchaos]:
 > But, is it ''configured'' and compiled with your python in the PATH?  At
 runtime, Qgis doesn't use the python executable, but the python library it
 was linked to when compiled.  (Anyways, shell init files don't affect
 applications.)

 Yes, qgis is build from a terminal with the correct PATH. If you look at
 the output of the cmake, it correctly spots it:

 {{{
 -- Found PythonInterp: /usr/pkg/bin/python2.6
 }}}

 which is not Apple default Python (located in /usr/bin).

 > And speaking of SIP/PyQt, the sip and pyqt programs need to be in your
 PATH also during configuration and compilation.

 That's also the case (sip-2.6, pyuic4-2.6 and pyrcc4-2.6).

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1950#comment:8>
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