Opened 14 years ago

Closed 13 years ago

#27741 closed defect (fixed)

gnu-classpath 0.9.3 not compile

Reported by: chicagotripp (Altoine Barker) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gnu-classpath

Description

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$

Attachments (1)

Portfile-gnu-classpath (1.4 KB) - added by chicagotripp (Altoine Barker) 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by chicagotripp (Altoine Barker)

Attachment: Portfile-gnu-classpath added

comment:1 in reply to:  description Changed 14 years ago by chicagotripp (Altoine Barker)

Replying to nDiScReEt@…:

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$

Forgive me. I meant to classify this as a defect. I was rushing.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Type: submissiondefect

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

0.9.8 builds OK.

Note: See TracTickets for help on using tickets.