[MacPorts] #27741: gnu-classpath 0.9.3 not compile

MacPorts noreply at macports.org
Mon Dec 20 10:10:18 PST 2010


#27741: gnu-classpath 0.9.3 not compile
---------------------------------+------------------------------------------
 Reporter:  nDiScReEt@…          |       Owner:  macports-tickets@…                   
     Type:  submission           |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:                                       
 Keywords:                       |        Port:  gnu-classpath                        
---------------------------------+------------------------------------------
 I receive the following error attempting to install gnu-classpath:
 {{{
 configure: error: cannot find javac, try --with-gcj, --with-jikes, --with-
 kjc, --with-ecj, or --with-gcjx
 }}}

 To fix this problem I had to modify the port file to include dependence on
 jikes, since the Portfile has in it's configure arguments "--with-jikes"
 and not "--with-gcj", "--with-gcjx", "--with-ecj", etc like the error
 message was complaining about. After jikes was installed, gnu-classpath
 installed for me with out any errors or problems. Here is the slight
 addition I did to the Portfile:

 {{{
 depends_lib     port:libiconv \
                 port:jikes
 }}}

 This solved my problem and the program installed beautifully.conflict". I
 am including the changed Portfile as an attachment. I changed the second
 line in the Portfile to only show:
 {{{
 # $Id$
 }}}

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


More information about the macports-tickets mailing list