[Debian-med-packaging] cmake issue in libsbml: Cannot generate java documentation, please specify the Java_JAVADOC_JAR.

Andreas Tille andreas at an3as.eu
Thu Dec 17 09:40:45 UTC 2015


Hi,

I'm trying to fix libsbml bugs and while doing so upgrade to the latest
upstream version.  Since the original tarball needs to be stripped I
moved the packaging from SVN to Git[1] (so please do not try debcheckout
which does not lead to the latest packaging status).

Unfortunately my attempt is blocked by

...

CMake Error at docs/CMakeLists.txt:212 (message):
  Cannot generate java documentation, please specify the Java_JAVADOC_JAR.


-- Configuring incomplete, errors occurred!
...


even if I tried in debian/rules

export JDK_PATH=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
export JAVA_INCLUDE_PATH=$(JDK_PATH)/include


as well as specifying

    -DJDK_PATH:STRING=/usr/lib/jvm/default-java -DJAVA_INCLUDE_PATH:STRING=/usr/lib/jvm/default-java/include

to the cmake call.

Any help would be welcome.

Kind regards

       Andreas.


[1] git://anonscm.debian.org/debian-med/libsbml.git

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list