Ticket #19488 (closed defect: fixed)
python_select creates wrong links in /opt/local/Library/Frameworks/Python.framework/
| Reported by: | pveglia@… | Owned by: | raimue@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.1 |
| Keywords: | Cc: | jmr@…, blb@…, mcalhoun@… | |
| Port: | python{24,25,26,30,31} |
Description
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

