Opened 15 years ago
Closed 15 years ago
#21320 closed defect (fixed)
python_select not working due to absolute $frameworks_dir path
Reported by: | smibrahim@… | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | skymoo (Adam Mercer), faisal.moledina@…, ronhuang@… | |
Port: | python_select |
Description
here is the error log
lavlus-MacBook-Pro:~ ibrahim$ sudo port upgrade outdated ---> Computing dependencies for python25 ---> Fetching python25 ---> Verifying checksum(s) for python25 ---> Extracting python25 ---> Applying patches to python25 ---> Configuring python25 ---> Building python25 ---> Staging python25 into destroot ---> Deactivating python25 @2.5.4_6+darwin_10+macosx ---> Computing dependencies for python25 ---> Installing python25 @2.5.4_7+darwin_10+macosx ---> Activating python25 @2.5.4_7+darwin_10+macosx To fully complete your installation and make python 2.5 the default, please run sudo port install python_select sudo python_select python25 ---> Cleaning python25 lavlus-MacBook-Pro:~ ibrahim$ sudo port install python_select Password: ---> Computing dependencies for python_select ---> Fetching python_select ---> Attempting to fetch select-0.2.1.tar.gz from http://arn.se.distfiles.macports.org/python_select ---> Verifying checksum(s) for python_select ---> Extracting python_select ---> Configuring python_select ---> Building python_select ---> Staging python_select into destroot ---> Installing python_select @0.2.1_1+darwin_10 ---> Activating python_select @0.2.1_1+darwin_10 ---> Cleaning python_select lavlus-MacBook-Pro:~ ibrahim$ sudo python_select python25 Selecting version "python25" for python ln: /opt/local//opt/local/Library/Frameworks/Python.framework/Versions/Current: No such file or directory ln: /opt/local//opt/local/Library/Frameworks/Python.framework/Headers: No such file or directory ln: /opt/local//opt/local/Library/Frameworks/Python.framework/Resources: No such file or directory ln: /opt/local//opt/local/Library/Frameworks/Python.framework/Python: No such file or directory there were 4 errors selecting version "python25"! lavlus-MacBook-Pro:~ ibrahim$ sudo python_select python25
Attachments (1)
Change History (10)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to raimue@… |
---|---|
Port: | python_select added |
Changed 15 years ago by jmroot (Joshua Root)
Attachment: | select-absolute-target.diff added |
---|
comment:3 Changed 15 years ago by jmroot (Joshua Root)
comment:4 Changed 15 years ago by jmroot (Joshua Root)
Summary: | python_select not working on snowleopard → python_select not working due to absolute $frameworks_dir path |
---|
comment:8 Changed 15 years ago by raimue (Rainer Müller)
Status: | new → assigned |
---|
comment:9 Changed 15 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in r57572.
Sorry that I actually broke more than I fixed with the first version. I did not test it properly before committing the changes to the base file.
Note: See
TracTickets for help on using
tickets.
proposed fix