Displaying 6 results from an estimated 6 matches for "jni_include_dir".
Did you mean:
ffi_include_dir
2016 Sep 12
2
problem with bindings configure script
James,
That worked, thanks, but with a caveat. I don't know if this is a
limitation of autoconf/configure, but jni.h wants to include jni_md.h,
which is located in JNI_INCLUDE_DIR/win32, which is not automatically
searched. I was able to work around this by moving jni_md.h from the win32
sub directory to the same directory as jni.h. No idea who's bug this is, if
it is legitimately a bug, but putting this tidbit out to the list in case
someone other than me runs up agains...
2007 May 30
5
java bindings 1.0.0 - jni.h not found
...... no
configure: error: jni.h not found
Note that I have added JAVA_HOME to my path and if I look into the directory
"/usr/lib/jvm/java-1.5.0-sun/include" there is a "jni.h" file - This
directory does not appear if I don't set JAVA_HOME.
Next I tried to set the variable JNI_INCLUDE_DIR. No effect at all.
The script claims to look in the proper location, but doesn't find anything.
OS: Ubuntu 7.04
gcc/g++: Ubuntu 4.1.2-0ubuntu4 (gcc/g++ version 4.1.2 as ubuntu package)
Any ideas?
Cheers,
Martin
2016 Sep 09
3
problem with bindings configure script
All,
I'm trying to compile xapian core and bindings under cygwin. I have no
issues running the configure script and then compiling core, but bindings
is giving me some issues. I'm running the configure script for bindings as
follows:
in xapian-bindings-1.4.0 directory.
./configure XAPIAN_CONFIG=/home/John/xapian-core-1.4.0 --with-java and had
two issues.
The first I solved by doing
2016 Sep 09
0
problem with bindings configure script
...39;m running the configure script for bindings as
> follows:
John ? a couple of things should help get you closer to this.
1. XAPIAN_CONFIG needs to point to the xapian-config binary you built (and installed) from xapian-core-1.4.0
2. you can point configure at the JNI include directory using JNI_INCLUDE_DIR
I'm not sure why you're getting those errors bout confdefs.h, though, so there may be more you have to do to make this work.
J
> in xapian-bindings-1.4.0 directory.
>
> ./configure XAPIAN_CONFIG=/home/John/xapian-core-1.4.0 --with-java and had
> two issues.
>
> The fi...
2016 Sep 12
0
problem with bindings configure script
On Mon, Sep 12, 2016 at 11:07:10AM -0400, John Bankert wrote:
> That worked, thanks, but with a caveat. I don't know if this is a
> limitation of autoconf/configure, but jni.h wants to include jni_md.h,
> which is located in JNI_INCLUDE_DIR/win32, which is not automatically
> searched. I was able to work around this by moving jni_md.h from the win32
> sub directory to the same directory as jni.h. No idea who's bug this is, if
> it is legitimately a bug, but putting this tidbit out to the list in case
> someone other th...
2016 Sep 14
1
problem with bindings configure script
...Betts <olly at survex.com> wrote:
> On Mon, Sep 12, 2016 at 11:07:10AM -0400, John Bankert wrote:
> > That worked, thanks, but with a caveat. I don't know if this is a
> > limitation of autoconf/configure, but jni.h wants to include jni_md.h,
> > which is located in JNI_INCLUDE_DIR/win32, which is not automatically
> > searched. I was able to work around this by moving jni_md.h from the
> win32
> > sub directory to the same directory as jni.h. No idea who's bug this is,
> if
> > it is legitimately a bug, but putting this tidbit out to the list in c...