[GNC-dev] Unable to compile Docs

Stephen M. Butler kg7je at arrl.net
Wed May 8 14:41:45 EDT 2019

On 5/8/19 5:13 AM, John Ralls wrote:
> sudo apt-get install libfontbox-java

Thanks.  That wasn't listed as a dependency in the Debian Control file. 
I added it and did the install. That did work and moved me along to this
next issue.  I'm not Java savvy so suspect something still not right.

Making pdf in ru
make[4]: Entering directory
make[4]: Circular
/home/steve/Projects/GnuCash/gnucash-docs/guide/ru/figures <-
/home/steve/Projects/GnuCash/gnucash-docs/guide/ru/figures dependency
/usr/bin/xsltproc --path ../../docbook --xinclude --nonet --stringparam
paper.type A4 -o 'gnucash-guide.fo' --stringparam fop1.extensions 1
../../xsl/1.79.2/fo/docbook.xsl 'gnucash-guide.xml'
Making portrait pages on A4 paper (210mmx297mm)
/usr/bin/fop -l ru -c fop.xconf -fo 'gnucash-guide.fo' -pdf
[warning] /usr/bin/fop: JVM flavor 'sun' not understood
[INFO] FopConfParser - Default page-height set to: 297mm
[INFO] FopConfParser - Default page-width set to: 210mm
Exception in thread "main" java.lang.NoClassDefFoundError:

    at org.apache.fop.cli.Main.main(Main.java:217)
Caused by: java.lang.ClassNotFoundException:
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
    ... 40 more
make[4]: *** [Makefile:838: gnucash-guide.pdf] Error 1
make[4]: Leaving directory
make[3]: *** [Makefile:325: pdf-recursive] Error 1
make[3]: Leaving directory '/home/steve/Projects/GnuCash/gnucash-docs/guide'
make[2]: *** [Makefile:386: pdf-recursive] Error 1
make[2]: Leaving directory '/home/steve/Projects/GnuCash/gnucash-docs'
make[1]: *** [debian/rules:26: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/steve/Projects/GnuCash/gnucash-docs'
make: *** [debian/rules:10: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit
status 2

Stephen M Butler, PMP, PSM
Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

More information about the gnucash-devel mailing list