[MacPorts] #19998: jamvm 1.5.0 and gnu-classpath 0.93: /opt/local/include/jni.h conflict
#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: jamvm 1.5.0 gnu-classpath 0.93 jni.h | Port: jamvm --------------------------------------------------+------------------------- 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. -- Ticket URL: <http://trac.macports.org/ticket/19998> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * keywords: jamvm 1.5.0 gnu-classpath 0.93 jni.h => jni.h * port: jamvm => jamvm gnu-classpath -- Ticket URL: <http://trac.macports.org/ticket/19998#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 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. -- Ticket URL: <http://trac.macports.org/ticket/19998#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
participants (1)
-
MacPorts