[Xapian-discuss] Re: Question about sorting using the Java bindings.

Jarrod Roberson jarrod at vertigrated.com
Thu May 31 19:06:15 BST 2007


On 5/31/07, Olly Betts <olly at survex.com> wrote:
>
> On Thu, May 31, 2007 at 12:11:54PM -0400, Jarrod Roberson wrote:
> > I downloaded snapshot  8776  I did a ./configure --with-python
> --with-java
> > then tried to run make in the java-swig directory. I got tons of
> compiler
> > errors.
> >
> > here is part of what it spews out.
> >
> > xapian_wrap.cc:8907: error: 'jlong' does not name a type
> >[snip]
>
> If you're going to only send some of the compiler errors, the *FIRST*
> few are almost always the most interesting ones.


Sorry I thought I didn't cut the right area from the terminal window.

Here is the first part of the compiler output. You were right it isn't
finding the jni.h

dhcp-102-182:~/CPP/xapian-bindings-1.0.0_svn8776/java-swig
>make
make  all-am
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I..    -fno-strict-aliasing -Wall -Wno-unused -Wno-uninitialized
-fvisibility=hidden -I/usr/local/include -g -O2 -MT xapian_wrap.lo -MD -MP
-MF ".deps/xapian_wrap.Tpo" -c -o xapian_wrap.lo xapian_wrap.cc; \
then mv -f ".deps/xapian_wrap.Tpo" ".deps/xapian_wrap.Plo"; else rm -f
".deps/xapian_wrap.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -fno-strict-aliasing -Wall -Wno-unused
-Wno-uninitialized -fvisibility=hidden -I/usr/local/include -g -O2 -MT
xapian_wrap.lo -MD -MP -MF .deps/xapian_wrap.Tpo -c xapian_wrap.cc
-fno-common -DPIC -o .libs/xapian_wrap.o
xapian_wrap.cc:139:17: error: jni.h: No such file or directory


More information about the Xapian-discuss mailing list