List Archive: gentoo-java
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
Petteri Räty wrote:
> After testing the new java setup I have found that packages using jni
> have problems. The problem is with locating jni.h. There is no standard
> way to find these so this is what two packages I have so far looked at use.
> db looks at path for the location of javac and tries to make the
> location from that.
> jdictrayapi expects to find JAVA_HOME in the environment
> So we should decide a solution to this problem. One bad but working
> solution to get stuff working quickly is to play with C(XX)FLAGS. We
> could also make symlinks to /usr/include or we can just patch all the
> packages using jni so that they work how we want them to. java-config -0
> can be used to set the include locations inside the Makefiles.
It would of course be best if whatever solution we come up with doesn't
require a lot of patching.
Radical idea: Can we provide one "standard" jni.h, and put it into, say,
-- Karl T
firstname.lastname@example.org mailing list