#20849: Cannot install db46 on Mac OS X 10.5.8 ---------------------------------+------------------------------------------ Reporter: jmlinhart@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: db46 ---------------------------------+------------------------------------------ Comment(by pierluigivinciguerra@…): About the first issue, the missing jni.h file missing: 1) from command line execute /usr/libexec/java_home to get your $JAVA_HOME directory 2) enter in your JAVA_HOME/include 3) check if the jni.h is there. If not, download the JAVA SDK and then retry from the beginning the installation 4) If yes, copy this file (i copied all the .h file to be honest) in /usr/include/ Now it should work, for me it was so. The problem is caused by the missing jni.h file, the program executed by the macport installation seems to look for this file not in the JAVA_HOME/include but only in /usr/include -- Ticket URL: <https://trac.macports.org/ticket/20849#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS