New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19998 (new defect)

Opened 3 years ago

Last modified 14 months ago

jamvm 1.5.0 and gnu-classpath 0.93: /opt/local/include/jni.h conflict

Reported by: gonhidi@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: jni.h Cc: snc@…
Port: jamvm gnu-classpath

Description

The jamvm 1.5.0 package wants to install /opt/local/include/jni.h which is already provided by gnu-classpath [0.93], a runtime dependency of jamvm.

Change History

  Changed 3 years ago by macsforever2000@…

  • keywords jamvm 1.5.0 gnu-classpath 0.93 removed
  • port changed from jamvm to jamvm gnu-classpath

follow-up: ↓ 4   Changed 2 years ago by snc@…

I couldn't get gnu-classpath to configure …

configure: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx

Manually installing javacc did not help.

  Changed 2 years ago by snc@…

  • cc snc@… added

Cc Me!

in reply to: ↑ 2   Changed 14 months ago by nDiScReEt@…

Replying to snc@…:

I couldn't get gnu-classpath to configure … {{{ configure: error: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx }}} Manually installing javacc did not help.

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. Now, gnu-classpath installed for me with out any errors or problems. Here is the snippet of an addition I did to the gnu-classpath Portfile:

depends_lib     port:libiconv \
                port:jikes

This solved my problem and the program installed beautifully. I don't think this particular problem you have is the same as the "jamvm 1.5.0 and gnu-classpath 0.93: /opt/local/include/jni.h conflict".

Note: See TracTickets for help on using tickets.