[MacPorts] #21614: Python26 framework is not recognized by ld, causing erroneous link against system python

MacPorts noreply at macports.org
Sun Sep 27 23:42:51 PDT 2009


#21614: Python26 framework is not recognized by ld, causing erroneous link against
system python
---------------------------------+------------------------------------------
 Reporter:  vince@…              |       Owner:  blb@…           
     Type:  defect               |      Status:  new             
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  1.8.0           
 Keywords:  ld python framework  |        Port:  python26        
---------------------------------+------------------------------------------

Comment(by vince@…):

 I've tried that. It does not work. The link flags are specifically set to
 "-framework Python" and, of course, adding a "-F ${frameworks_dir} will
 not work either. According to the Qgis developers, this is a bug in Cmake:
 it always queries system frameworks. It must admit I've taken that as
 "Gospel truth" as we say here.

 Can the trio -F... -framework Python be replaced by a direct reference to
 e.g. -L${some_directory}? In which case it might be fixed easily. But I'm
 unsure this is the case.

-- 
Ticket URL: <http://trac.macports.org/ticket/21614#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list