Opened 13 years ago
Closed 12 years ago
#29531 closed defect (wontfix)
_select ports no longer provide _select binary
Reported by: | hansimglueck@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | raimue (Rainer Müller), mww@…, ryandesign (Ryan Carsten Schmidt), blair (Blair Zajac) | |
Port: | gcc_select ipython_select maven_select postgresql_select python_select |
Description
Hi MacPorties,
I'm wondering about a strange bug. I have installed scipy, matplotlib and other scientific stuff. My commands were:
sudo port install py26-wxpython py26-numpy py26-matplotlib sudo port install py26-scipy py26-ipyhton
yea, right to this point everything works fine and after a few hours its done...
I started ipython and everything works fine too.
But in standard python i did not work ... i figured out that i use the apple python version:
hans: hans$ python Python 2.6.1 (r261:67515, Aug 2 2010, 20:10:18) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
so i started:
hans: hans§ python2.6 Python 2.6.6 (r266:84292, May 15 2011, 15:57:09) [GCC 4.2.1 (Apple Inc. build 5666)] on darwin
and yea it works fine.... ok so i checked my python_select installation from macports:
hans: hans§ port installed | grep python_select ipython_select @0.1.0 (active) python_select @0.3_1 (active)
but when i type:
hans: hans$ sudo python_select python2.6 sudo: python_select: command not found
So port says python_select is fine but the command does not work? any hints? i already tried selfupdate, upgrade outdated and clean --all python_select.... greets hans
Change History (13)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | python_select added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | raimue@… added |
---|
Has duplicate #29616.
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Has duplicate #29720 (about gcc_select, but it's the same issue).
comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mww@… ryandesign@… added |
---|---|
Port: | gcc_select ipython_select postgresql_select added |
Resolution: | invalid |
Status: | closed → reopened |
Summary: | python_select: command not found → _select ports no longer provide _select binary |
It was also reported on the mailing list, where it was suggested that a "_select" binary should have been left behind, with the sole purpose of printing an error message advising the user how to use "port select". This seems like a great idea, and would avoid these many tickets being filed and users being confused.
comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | blair@… added |
---|---|
Port: | maven_select added |
comment:8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
This problem came up on the list again.
comment:11 follow-up: 12 Changed 13 years ago by beany_kelly@…
I'm using a MBP with OS X 10.6.8 and macports 2.0.4
I'm having the problem above when trying to select an earlier installation of gcc:
(1) gcc_select is installed on my system;
(2) gcc_select is *not* an executable;
(3) nevertheless, I *can't* uninstall gcc_select, because my gcc4* installations depend on it;
(4) the "approved" way of selecting -- "sudo port select gcc gcc45" -- doesn't work either:
Selecting 'gcc45' for 'gcc' failed: The specified version 'gcc45' is not valid.
So how do I now select gcc45 without uninstalling all my other gcc versions?
comment:12 Changed 13 years ago by raimue (Rainer Müller)
Replying to beany_kelly@…:
(4) the "approved" way of selecting -- "sudo port select gcc gcc45" -- doesn't work either:
Selecting 'gcc45' for 'gcc' failed: The specified version 'gcc45' is not valid.
You should check port select --list gcc
first. You want to run port select gcc mp-gcc45
.
comment:13 Changed 12 years ago by raimue (Rainer Müller)
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
This has been pending for a long time. Closing as the *_select scripts are not coming back.
"python_select" (and other standalone *_select scripts) is gone. Use "sudo port select python python26" etc.