[liblouis-liblouisxml] Re: Building liblouisutdml on OS X 10.6.7

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 27 May 2011 08:21:33 -0500

Thanks for the informatiuon. For those who don't know, on Linux the Java 
headers are taken care of when gcj is installed. I don't know if gcj is 
available for the Mac. On Windows I also have to provide an include path 
to the Java headers.

John B.

On Thu, May 26, 2011 at 10:53:36AM -0700, John  Brugge wrote:
> 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

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: