[MacPorts] #19488: python_select creates wrong links in /opt/local/Library/Frameworks/Python.framework/

MacPorts noreply at macports.org
Thu Apr 30 06:26:02 PDT 2009


#19488: python_select creates wrong links in
/opt/local/Library/Frameworks/Python.framework/
-------------------------------+--------------------------------------------
 Reporter:  pveglia@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.7.1                                
 Keywords:  python_select      |        Port:                                       
-------------------------------+--------------------------------------------
 It seems that python_select creates wrong link in the framework
 installation of python{25,26,30}.

 In particular, it creates links pointing to not-existing paths.

 I think the problem is here: /opt/local/etc/select/python/python{25,26,30}

 i'm reporting the contents of python30:

 /opt/local/Library/Frameworks/Library/Frameworks/Python.framework/Versions/3.0
 /opt/local/Library/Frameworks/Library/Frameworks/Python.framework/Versions/3.0/Headers
 /opt/local/Library/Frameworks/Library/Frameworks/Python.framework/Versions/3.0/Resources
 /opt/local/Library/Frameworks/Library/Frameworks/Python.framework/Versions/3.0/Python

 It is easy to see that the correct paths should be instead:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.0
 /opt/local/Library/Frameworks/Python.framework/Versions/3.0/Headers
 /opt/local/Library/Frameworks/Python.framework/Versions/3.0/Resources
 /opt/local/Library/Frameworks/Python.framework/Versions/3.0/Python

 without the repetition of /Library/Frameworks.

 This correction also resolves issues with the impossibility to link
 against macports' python installation

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


More information about the macports-tickets mailing list