[MacPorts] #21824: python26 framework broken

MacPorts noreply at macports.org
Sun Oct 4 13:49:38 PDT 2009


#21824: python26 framework broken
---------------------------------+------------------------------------------
  Reporter:  stromnov@…          |       Owner:  blb@…           
      Type:  defect              |      Status:  closed          
  Priority:  Normal              |   Milestone:                  
 Component:  ports               |     Version:  1.8.1           
Resolution:  invalid             |    Keywords:                  
      Port:  python26            |  
---------------------------------+------------------------------------------

Comment(by blb@…):

 That's the thing, if python25 and python26 were to setup full framework
 stuff (Current and whatnot), then they'd conflict and you could have only
 one of them installed (or at least active) at a time.

 You should be able to link to the library directly with {{{-L${prefix}/lib
 -lpython2.6}}} or for the linking stage, using distutils:
 {{{
 $ /opt/local/bin/python2.6
 ...
 >>> import distutils.sysconfig
 >>> print distutils.sysconfig.get_config_var('LINKFORSHARED')
 -u _PyMac_Error
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python
 }}}

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


More information about the macports-tickets mailing list