On 1/1/14 7:58 PM, Aaron M. Ucko wrote:
[...]

> Builds of radare2-bindings in minimal environments (as on the
> autobuilders) have been failing:
> 
>   test_wrap.c:135:17: fatal error: jni.h: No such file or directory
>    #include <jni.h>
>                    ^
>   compilation terminated.
>    - java: no
>   [...]
>   ls: cannot access *.so: No such file or directory
>   make[3]: Leaving directory `/«PKGBUILDDIR»/java'
> 
> Since you evidently (and reasonably) mean to use OpenJDK rather than
> GCJ, please specify appropriate flags; I'd suggest taking further
> advantage of javahelper:
> 
>   include /usr/share/dpkg/buildflags.mk
>   include /usr/share/javahelper/java-vars.mk
>   CPPFLAGS += -I/usr/lib/jvm/java-7-openjdk-$(JAVA_ARCH)/include

        Ouch, I'm stupid!  I didn't really see the final '-amd64' in the path 
that I
was injecting.  It took me a while to understand it.

        I'll put new packages in the mail in a moment.  Thanks, Aaron.


                Ender.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to