SQLiteJDBC v044 does not build if JAVA_HOME is a symbolic link (as in
openSUSE Linux).
Make aborts with error:
In file included from build/NativeDB.h:2,
from src/org/sqlite/NativeDB.c:20:
/usr/lib64/jvm/java/include/jni.h:27:20: error: jni_md.h: File or
directory not found
The reason is in Makefile.common:
jni_md := $(shell find "$(JAVA_HOME)" -name jni_md.h)
can't find jni_md.h if JAVA_HOME is a symbolic link. The fix is to
modify the find options:
jni_md := $(shell find -L "$(JAVA_HOME)" -name jni_md.h)
Regards,
Thomas
--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---