#19998: jamvm 1.5.0 and gnu-classpath 0.93: /opt/local/include/jni.h conflict -------------------------------+-------------------------------------------- Reporter: gonhidi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: jni.h | Port: jamvm gnu-classpath -------------------------------+-------------------------------------------- Comment(by nDiScReEt@…): Replying to [comment:2 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". -- Ticket URL: <https://trac.macports.org/ticket/19998#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS