[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 13:31:44 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:13 kyngchaos]:
 > {{{
 > -F /Library/Frameworks -framework Python
 > }}}
 >
 > it will link:
 >
 > {{{
 > /Library/Frameworks/Python.framework/Versions/2.5/Python
 > }}}
 >
 > This is so that (I'm guessing) cmake can make sure the exact library
 binary that you want, or an internal library binary, is linked and -L/-F
 paths don't confuse things.

 In that case, may be another patch should work: redefine the loader LD to
 be a script shell that strips out /Library/Framework/... and replace it by
 the correct flags. I did that to patch scipy that had issues with the
 Fortran compiler, and it worked like a charm.

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