[Xapian-discuss] java bindings

Joachim Martin jmartin at path-works.com
Mon Nov 13 20:59:36 GMT 2006


Well that would explain it, wouldn't it!  g++ wasn't even installed.  
Sorry for being such an idiot...

I was also having problems getting the jni.h header found, and I had to 
run configure like so:

./configure --with-java CPPFLAGS="-I/home/systems/jdk/include 
-I/home/systems/jdk/include/linux"

We have the jdk installed in a non-standard place, and I did have to add 
the additional linux directory to get it working.

Thanks --Joachim

Olly Betts wrote:

>On Mon, Nov 13, 2006 at 02:37:25PM -0500, Joachim Martin wrote:
>  
>
>>Ok, I installed "xapian-core-devel" and now I'm having problems with gcc:
>>
>>./configure CXXCPP=/usr/bin/cpp CXX=/usr/bin/gcc --with-java
>>    
>>
>
>/usr/bin/gcc is the C compiler, you want /usr/bin/g++ (which configure
>will look for by default).  Similarly, don't set CXXCPP.
>
>You might find g++ is in a different package to gcc, so it's possible
>it's not installed even though gcc is.
>
>Cheers,
>    Olly
>  
>



More information about the Xapian-discuss mailing list