[MacPorts] #30357: gcc46 select error if no gcj installed

MacPorts noreply at macports.org
Sun Jul 24 23:34:37 PDT 2011


#30357: gcc46 select error if no gcj installed
-------------------------------------+--------------------------------------
 Reporter:  marshall.ward@…          |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  2.0.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------
 I have the following gcc46 version installed:

     gcc46 @4.6-20110325_1+gfortran

 If I try to select gcc46 using the following command:

     sudo port select --set gcc mp-gcc46

 Then I get the following error:

     Selecting 'mp-gcc46' for 'gcc' failed: could not create new link
 "/opt/local/bin/gcj": target "/opt/local/bin/gcj-mp-4.6" doesn't exist

 I assume that the problem occurs because I don't have the 4.6 version of
 GCC java installed. This is partly because the +gfortran and +java
 variants are incompatible (according to macports).

-- 
Ticket URL: <https://trac.macports.org/ticket/30357>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list