It is impossible to build the port with new jdk14 (1.4.2-p6). The include file jni_md.h of the jdk14 port was moved from include/bsd/ to include/freebsd/. Fix: Change -DJAVA_INCLUDE_PATH2:PATH=${JAVA_HOME}/include/bsd to -DJAVA_INCLUDE_PATH2:PATH=${JAVA_HOME}/include/freebsd in the math/vtk-java/Makefile
State Changed From-To: open->closed Committed, thanks! This fixes the include path problems but I still get link errors trying to build this port (missing symbols from the pthreads library). Do you have these problems?
Yes this problem exists for all vtk-java,vtk-python,vtk-tcl ports on FreeBSD 4.X, but does not on 5.X. The solution is to link binaries with the "-pthread" flag for OSVERSION < 500016 . Hereby I attach the recursive diff file which solves this problem, and also fixes some minor bugs.