New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #33561 (new defect)

Opened 15 months ago

Last modified 13 months ago

gcc48: Selecting 'mp-gcc48' for 'gcc' failed ... gcj": target

Reported by: chakuzo@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: kartoffelkraut@…, stefan.van.der.eijk@…
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

comment:1 Changed 15 months ago by chakuzo@…

  • Cc chakuzo@… added

Cc Me!

comment:2 follow-up: ↓ 3 Changed 15 months ago by ryandesign@…

  • Owner changed from macports-tickets@… to mww@…
  • Keywords gcc47,gcj removed
  • Cc chakuzo@… removed
  • Summary changed from Selecting 'mp-gcc47' for 'gcc' failed ... gcj": target to 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 in reply to: ↑ 2 ; follow-up: ↓ 4 Changed 15 months 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 in reply to: ↑ 3 Changed 14 months 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 14 months ago by dports@…

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:6 Changed 13 months ago by kartoffelkraut@…

  • Cc kartoffelkraut@… added

Cc Me!

comment:7 Changed 13 months ago by ryandesign@…

  • Port changed from gcc47 to gcc48
  • Summary changed from gcc47: Selecting 'mp-gcc47' for 'gcc' failed ... gcj": target to 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:8 Changed 13 months ago by stefan.van.der.eijk@…

  • Cc stefan.van.der.eijk@… added

Cc Me!

Note: See TracTickets for help on using tickets.