You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by Bill Janssen <bi...@janssen.org> on 2009/08/08 04:33:25 UTC

jcc build on systems without jni.h?

I was building on an as-yet unreleased version of a popular operating
system the other day, and found that jcc failed to build, because jni.h
is no longer installed where one might expect it to be.  Don't know if
this condition will persist when this version of the OS is actually
released, but right now it's a bit of a show-stopper.

Bill

Re: jcc build on systems without jni.h?

Posted by Andi Vajda <va...@apache.org>.
On Tue, 11 Aug 2009, Bill Janssen wrote:

> Andi Vajda <va...@apache.org> wrote:
>
>>
>> On Aug 8, 2009, at 4:33, bill@janssen.org (Bill Janssen) wrote:
>>
>>> I was building on an as-yet unreleased version of a popular operating
>>> system the other day, and found that jcc failed to build, because
>>> jni.h
>>> is no longer installed where one might expect it to be.  Don't know if
>>> this condition will persist when this version of the OS is actually
>>> released, but right now it's a bit of a show-stopper.
>>
>> Indeed. There is no JCC without JNI.
>> Java without JNI... the jail would be airtight.
>>
>> Andi..
>
> Well, yes and no.  The headers (jni.h) might properly be considered part
> of the developer kit, rather than the runtime kit.  Lots of Linux
> distributions separate runtime and developer components.  Just a heads-up
> that the default location of headers for this Malus build may change in the
> near future.  Though I think it's worth waiting to see what the release
> has in it.

Oh yeah, that's very common on Linux. Just a few days ago, user "KK" was 
missing the Python.h header file for the same reason.

I was worried that you had found an OS with a Java that didn't support JNI 
at all. Phew.

Andi..

>
> Bill
>

Re: jcc build on systems without jni.h?

Posted by Bill Janssen <ja...@parc.com>.
Andi Vajda <va...@apache.org> wrote:

> 
> On Aug 8, 2009, at 4:33, bill@janssen.org (Bill Janssen) wrote:
> 
> > I was building on an as-yet unreleased version of a popular operating
> > system the other day, and found that jcc failed to build, because
> > jni.h
> > is no longer installed where one might expect it to be.  Don't know if
> > this condition will persist when this version of the OS is actually
> > released, but right now it's a bit of a show-stopper.
> 
> Indeed. There is no JCC without JNI.
> Java without JNI... the jail would be airtight.
> 
> Andi..

Well, yes and no.  The headers (jni.h) might properly be considered part
of the developer kit, rather than the runtime kit.  Lots of Linux
distributions separate runtime and developer components.  Just a heads-up
that the default location of headers for this Malus build may change in the
near future.  Though I think it's worth waiting to see what the release
has in it.

Bill

Re: jcc build on systems without jni.h?

Posted by Andi Vajda <va...@apache.org>.
On Aug 8, 2009, at 4:33, bill@janssen.org (Bill Janssen) wrote:

> I was building on an as-yet unreleased version of a popular operating
> system the other day, and found that jcc failed to build, because  
> jni.h
> is no longer installed where one might expect it to be.  Don't know if
> this condition will persist when this version of the OS is actually
> released, but right now it's a bit of a show-stopper.

Indeed. There is no JCC without JNI.
Java without JNI... the jail would be airtight.

Andi..

>
>
> Bill