[SOLVED] openslide-java configure

Benjamin Gilbert bgilbert at cs.cmu.edu
Tue Nov 17 04:34:19 EST 2015


On 2015-11-16 11:33, Tammy Diprima via openslide-users wrote:
> PROBLEM: when I run automake, I get this error:
> configure.ac:10 [1]: error: possibly undefined macro: AM_INIT_AUTOMAKE
> 
> SOLUTION:
> 
> Install ant, and then:
> 
> glibtoolize --force
> aclocal
> autoheader
> automake --force-missing --add-missing
> autoconf

"autoreconf -fi" will do all of those things for you, if you have 
Autoconf, Automake, libtool, and pkg-config installed.  All of this is 
only necessary when building from Git rather than from a source release.

> Configure looks for jni_md.h.  Locate it and copy it to one of the
> locations configure is looking in.
> example:
> sudo cp
> /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/include/darwin/jni_md.h
> /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/include

This is a bug, and should now be fixed in Git:

     https://github.com/openslide/openslide-java/commit/7ac6c3d

Could you test Git master and verify that copying the header file is no 
longer necessary?

Thanks,
--Benjamin Gilbert



More information about the openslide-users mailing list