Opened 12 years ago

Closed 12 years ago

#19488 closed defect (fixed)

python_select creates wrong links in /opt/local/Library/Frameworks/Python.framework/

Reported by: pveglia@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: jmroot (Joshua Root), blb@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: python{24, 25, 26, 30, 31}


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

Change History (2)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Keywords: python_select removed
Owner: changed from macports-tickets@… to raimue@…
Port: python_select added

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Cc: jmr@… blb@… mcalhoun@… added
Port: python{24 25 26 30 31} added; python_select removed
Resolution: fixed
Status: newclosed

Actually a problem with the select files provided by each python port. Fixed in r50424.

Note: See TracTickets for help on using tickets.