[Xapian-discuss] how to compile java-swig under linux.
Charlie Hull
charlie at juggler.net
Mon Mar 10 09:54:09 GMT 2008
Jarrod Roberson wrote:
> ok, I am moving my development environment for the java portion of my
> application to linux (Centos 5 to be specific).
> I have found I can still do my python development on Windows. At least
> Komodo and Intellij IDEA run on both windows and linux! :-) I lost my Mac
> due to a job change :-(.
>
> Anyway, long story short, I am trying to get the java-swig bindings to build
> and am having no luck.
> xapian-core 1.0.5 builds fine, I got the python bindings builidng fine as
> well. Just as plain and simple as it was on OSX.
> This is what I am getting as output.
>
> [jhr at localhost java-swig]$ make
> make all-am
> make[1]: Entering directory `/home/jhr/xapian-bindings-1.0.5/java-swig'
> /usr/lib/jvm/java-1.6.0-sun-1.6.0.04/bin/javac -classpath .:. -d . Auto.java
> ./XapianJNI.java:192: cannot find symbol
> symbol : class Sorter
> location: class XapianJNI
> public final static native void Enquire_setSortByKey__SWIG_0(long jarg1,
> Enquire jarg1_, long jarg2, Sorter jarg2_, boolean jarg3);
Interestingly I had a go at making a Windows MSVC build file for the
Java Swig bindings on Friday, and got exactly the same errors - I'm in
no way a Java expert so gave up at that point!
If we can solve this we might thus be able to help with your original
issue, Jarrod...
Cheers
Charlie
More information about the Xapian-discuss
mailing list