On Thu, Oct 13, 2011 at 12:35:03PM +0200, David Coppa wrote:
> On Thu, Oct 13, 2011 at 12:31 PM, Paul Irofti <p...@irofti.net> wrote:
> > On Thu, Oct 13, 2011 at 12:17:45PM +0300, Paul Irofti wrote:
> >> On Thu, Oct 13, 2011 at 09:41:41AM +0200, David Coppa wrote:
> >> > On Thu, Oct 13, 2011 at 9:36 AM, Paul Irofti <p...@irofti.net> wrote:
> >> > > On Tue, Oct 11, 2011 at 07:15:19AM -0600, David Coppa wrote:
> >> > >> Hi again,
> >> > >>
> >> > >> this one fixes another bug (into FindJNI.cmake) found by Vadim.
> >> > >
> >> > > Is this tested with jdk-1.7.0?
> >> > > Because the current cmake port has a bug in its regex as well.
> >> >
> >> > Where?
> >>
> >> /usr/local/share/cmake/Modules/FindJava.cmake:129 and 131 as well.
> >
> > Oh and FindJNI.cmake is broken as well.
> >
> > CMake Error: The following variables are used in this project, but they
> > are set to NOTFOUND.
> > Please set them or make sure they are set and tested correctly in the
> > CMake files:
> > JAVA_AWT_INCLUDE_PATH (ADVANCED)
> > [-path to where I did FIND_PACKAGE(JNI)-]
> > JAVA_INCLUDE_PATH (ADVANCED)
> > [-path to where I did FIND_PACKAGE(JNI)-]
> > JAVA_INCLUDE_PATH2 (ADVANCED)
> > [-path to where I did FIND_PACKAGE(JNI)-]
> 
> Paul, please tell me how you're testing this, so I can properly fix
> cmake java modules.

I'm using:
FIND_PACKAGE(JNI 1.6)

But:
FIND_PACKAGE(JAVA 1.6)
also fails.

> What software is this? iirc, we have no cmake based java ports in our tree...

Its work so you can't test this. But those are the only lines that I
tried to use in regards to the cmake modules. And they both fail on
OpenBSD. Linux, Darwin, Windows are fine.

In the Java case I looked it up and it was the regex. I gave up on the
JNI case.

Reply via email to