[Xapian-discuss] java bindings 1.0.0 - jni.h not found
olly at survex.com
Thu May 31 12:26:24 BST 2007
On Thu, May 31, 2007 at 11:45:09AM +0100, James Aylett wrote:
> On Thu, May 31, 2007 at 11:27:11AM +0100, Olly Betts wrote:
> > That only fixes this for Linux, and all the world isn't Linux. The Sun
> > webpage someone posted a link to hints that other possible values
> > include "solaris" and "win32", but sadly it doesn't enumerate all the
> > possible values.
> Sorry, I thought you'd said that this problem only appeared on linux.
This issue was reported for Linux before, so the note in java/README
talks about Linux because I'm still working on my omniscience.
But this page talks about solaris or win32 (and doesn't mention linux):
> For the Sun JDK, there shouldn't be any other values, because they are
> the only platforms they support.
OK, that's useful to know. I guess a case statement checking the
platform we are building for is the best we can do, but it's an ugly
solution and not very future proof, since Sun could add support for
new platforms (I believe that Linux support was added more recently
which is probably why the JNI FAQ doesn't mention it).
> No idea what the APPL one does; I only have the JRE on my Mac at the
If you mean Mac OS X, that installs jni.h in
/System/Library/Frameworks/JavaVM.framework/Headers (phew!) which we
already have in the list of paths to check.
More information about the Xapian-discuss