id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 19951,"db46 fails to build java bindings due to ""missing"" jni.h",martin@…,blair,"Hello, several versions of the jdk are installed on my computer and jni.h is available. But it is not in the include path, so the following command fails: {{{ /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -c -I. -I../dist/.. -I/opt/local/include -O2 -fno-strict-aliasing ../dist/../libdb_java/db_java_wrap.c /usr/bin/gcc-4.0 -c -I. -I../dist/.. -I/opt/local/include -O2 -fno-strict-aliasing ../dist/../libdb_java/db_java_wrap.c -fno-common -DPIC -o .libs/db_java_wrap.o ../dist/../libdb_java/db_java_wrap.c:123:17: error: jni.h: No such file or directory ../dist/../libdb_java/db_java_wrap.c:147: error: syntax error before '*' token [...] }}} My hotfix was to remove the line --enable-java from the ports file. Regards, Martin ",defect,closed,Normal,,ports,1.7.1,fixed,java-bindings include file missing,acampbell3000@…,db46