[liblouis-liblouisxml] Building liblouisutdml on OS X 10.6.7

  • From: "John Brugge" <johnbrugge@xxxxxxxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Thu, 26 May 2011 10:53:36 -0700

While building liblouisutdml 1.9.0 on OS X 10.6.7, I found a few extra steps 
needed that could be useful to add to the README.mac.

 1.  Download and install the Java Developer Package from 
http://connect.apple.com. This provides the jni.h include file needed by the 
Java binding class.
 2.  Update the include path to be able to find jni.h. I don't know if there is 
a more elegant way of doing this, but I needed to change a line in 
tools/Makefile and liblouisutdml/Makefile:
    *   BASE_DEPENDENCIES_CFLAGS = -I/usr/local/include/liblouis 
-I/usr/include/libxml2  -I/System/Library/Frameworks/JavaVM.framework/Headers

Thanks,
John Brugge

Other related posts: