[libbluray-devel] libbluray with BD-J support: compilation issues

Matthew Briggs hal.sulphur at gmail.com
Wed Apr 24 05:24:13 CEST 2013


Hello,
I am attempting to compile libbluray with BD-J support (it appears the 
default that gets included with VLC does not feature BD-J support, hence 
no menus when viewing blu-ray discs) under OS X 10.8.3 using X-code 4.6, 
java_for_os_x_2013003_dp__11m4406 and source code from 
ftp://ftp.videolan.org/pub/videolan/libbluray/0.2.3/libbluray-0.2.3.tar.bz2
When I try to configure, I get this:

$ ./configure --enable-bdjava

checking build system type... x86_64-apple-darwin12.3.0

checking host system type... x86_64-apple-darwin12.3.0

checking target system type... x86_64-apple-darwin12.3.0

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... build-aux/install-sh -c -d

<SNIP>

Checking if compiler supports -g... yes

checking jni.h usability... no

checking jni.h presence... no

checking for jni.h... no

configure: error: "Could not find jni.h"

Obviously I have jni.h (located at 
/System/Library/Frameworks/JavaVM.framework/Versions/A/Headers) but the 
configure environment doesn't seem to be able to find it. Am I missing 
an environmental variable or something?
Is my supposition that not compiling BD-J support is the reason VLC for 
Mac does not display bluray menus correct? :)

Kind regards
-- 
Matthew Briggs <hal.sulphur at gmail.com>



More information about the libbluray-devel mailing list