GNOME Bugzilla – Bug 750501
AtkWrapper.c:21:17: fatal error: jni.h: No such file or directory
Last modified: 2015-06-07 16:31:16 UTC
I tried to compile java-atk-wrapper using the following sequence: make clean git clean -fX ./autogen.sh --prefix=/usr make The compillation was aborted with the following error: AtkWrapper.c:21:17: fatal error: jni.h: No such file or directory
I probably need to configure includes for your arch properly in acinclude.m4 [1] My JNI includes get set with https://git.gnome.org/browse/java-atk-wrapper/tree/acinclude.m4#n36 Can you paste out the terminal? [1] https://git.gnome.org/browse/java-atk-wrapper/tree/acinclude.m4#n33
Created attachment 304727 [details] output file with content ofterminal during compilation In the attached file I can see the following: JNI includes: -I/usr/lib/jvm/java-7-jdk/include -I/usr/lib/jvm/java-7-jdk/include/linux The directory /usr/lib/jvm/java-7-jdk/include contains the following files: classfile_constants.h jawt.h jdwpTransport.h jni.h jvmticmlr.h jvmti.h linux
Created attachment 304728 [details] [review] patch to address bug This should do the trick. Let me know if there are any further problems.
Works fine. Thanks. Should I close this bug?
Created attachment 304730 [details] [review] add darwin includes. Yes, thanks for confirming we can close now. I just checked on darwin as well and added this patch for darwin includes. Let me know if there's anything else. Thanks.