Opened 13 years ago
Closed 7 years ago
#33561 closed defect (fixed)
gcc48: Selecting 'mp-gcc48' for 'gcc' failed ... gcj": target
Reported by: | chakuzo@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | kartoffelkraut@…, stefan.van.der.eijk@…, maehne (Torsten Maehne) | |
Port: | gcc48 |
Description
I have some trouble with
sudo port select gcc mp-gcc47
I have read a little bit about the same problem with gcc46. But i don't know how I can solve the problem.
Selecting 'mp-gcc47' for 'gcc' failed: could not create new link "/opt/local/bin/gcj": target "/opt/local/bin/gcj-mp-4.7" doesn't exist
Change History (13)
comment:1 Changed 13 years ago by chakuzo@…
Cc: | chakuzo@… added |
---|
comment:2 follow-up: 3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | chakuzo@… removed |
---|---|
Keywords: | gcc47 gcj removed |
Owner: | changed from macports-tickets@… to mww@… |
Summary: | Selecting 'mp-gcc47' for 'gcc' failed ... gcj": target → gcc47: Selecting 'mp-gcc47' for 'gcc' failed ... gcj": target |
I suppose you would have to install gcc47 with the +gfortran and +java variants.
comment:3 follow-up: 4 Changed 13 years ago by chakuzo@…
Replying to ryandesign@…:
I suppose you would have to install gcc47 with the +gfortran and +java variants.
That is impossible.
Because I can install with gfortran or with java not both.
Error: gcc47: Variant gfortran conflicts with java Error: Unable to open port: Error evaluating variants To report a bug, see <http://guide.macports.org/#project.tickets>
comment:4 Changed 13 years ago by chakuzo@…
Replying to chakuzo@…:
Replying to ryandesign@…:
I suppose you would have to install gcc47 with the +gfortran and +java variants.
That is impossible.
Because I can install with gfortran or with java not both.
Error: gcc47: Variant gfortran conflicts with java Error: Unable to open port: Error evaluating variants To report a bug, see <http://guide.macports.org/#project.tickets>
When I use only one of them
sudo port install gcc47 +gfortran
I get the same error.
sudo port install gcc47 +java
Install Error.
comment:5 Changed 13 years ago by drkp (Dan Ports)
Is this still an issue now that gcc 4.7.0 final has been released and Java and Fortran are enabled by default? I think it should work now but I haven't tried it.
(...although maybe gcc48 has the same issue...)
comment:7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | gcc48 added; gcc47 removed |
---|---|
Summary: | gcc47: Selecting 'mp-gcc47' for 'gcc' failed ... gcj": target → gcc48: Selecting 'mp-gcc48' for 'gcc' failed ... gcj": target |
I'm going to assume it's fixed for gcc47 and is now a problem for gcc48.
comment:10 follow-up: 11 Changed 11 years ago by jqm12@…
I think command should be
sudo port select --set gcc mp-gcc47
and not
sudo port select gcc mp-gcc47
comment:11 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to jqm12@…:
I think command should be
sudo port select --set gcc mp-gcc47and not
sudo port select gcc mp-gcc47
Both of those commands do the same thing; it does not matter which you use.
comment:12 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)
Owner: | changed from mww@… to macports-tickets@… |
---|---|
Status: | new → assigned |
comment:13 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
It should no longer be possible for this problem to occur, since we no longer have gfortran or java variants in any gcc port; they're either always installed, or always not installed, and the select files know which.
Cc Me!