[MacPorts] #27830: tomcat-native: Cannot find jni_md.h in /System/Library/Frameworks/JavaVM.framework/Home/

MacPorts noreply at macports.org
Wed Sep 28 00:02:25 PDT 2011


#27830: tomcat-native: Cannot find jni_md.h in
/System/Library/Frameworks/JavaVM.framework/Home/
----------------------------+-----------------------------------------------
 Reporter:  ptm@…           |       Owner:  macports-tickets@…                   
     Type:  defect          |      Status:  new                                  
 Priority:  Normal          |   Milestone:                                       
Component:  ports           |     Version:  1.9.2                                
 Keywords:                  |        Port:  tomcat-native                        
----------------------------+-----------------------------------------------

Comment(by mmpestorich@…):

 Ran into this same problem when trying to install on Lion. I found this
 link that helped: [http://blog.hgomez.net/2011/07/13/building-universal-
 apache-tomcat-native-library-on-osx/ building-universal-apache-tomcat-
 native-library-on-osx]. Look toward the bottom of the page under the
 section entitled "A Note About Lion". It seems some header files have
 moved as indicated previously in this thread. I was able to successfully
 build and install by modifying one of the port definition's configure
 options to be `--with-java-
 home=/System/Library/Frameworks/JavaVM.framework/Versions/A/`.

-- 
Ticket URL: <https://trac.macports.org/ticket/27830#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list