[MacPorts] #27830: sudo port install tomcat-native fails - Error cannot find jni_md.h
MacPorts
noreply at macports.org
Sat Jan 1 05:52:09 PST 2011
#27830: sudo port install tomcat-native fails - Error cannot find jni_md.h
----------------------------+-----------------------------------------------
Reporter: ptm@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: tomcat-native
----------------------------+-----------------------------------------------
Comment(by ptm@…):
I believe something similar is going on as I had to play with a few
softlinks to get jvcs to build. I have not installed any java packages,
but everything seems to be there, just not where macports seems to expect
it to be :-(
For example, jni_md.h is located at:
/System/Library/Frameworks/JavaVM.framework/Headers
It is a link: jni_md.h@ -> ../../CurrentJDK/Headers/jni_md.h
I'm new to Mac, but not Unix. All I can note is that macports is looking
for this file in (from the log):
[[BR]][[BR]]:info:configure adding
"-I/System/Library/Frameworks/JavaVM.framework/Home/include" to
TCNATIVE_PRIV_INCLUDES
[[BR]][[BR]]:info:configure checking os_type directory... Cannot find
jni_md.h in /System/Library/Frameworks/JavaVM.framework/Home/
...and it is not there...
I'm not sure what the next line in the log is suggesting...
[[BR]][[BR]]:info:configure configure: error: You should retry --with-os-
type=SUBDIR
--
Ticket URL: <https://trac.macports.org/ticket/27830#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list