Building KMyMoney 5.1.0

Jack ostroffjh at users.sourceforge.net
Mon Jun 15 00:02:32 BST 2020


OK.  I got an answer from the documentation mailing list.

On 6/14/20 4:02 PM, Doug Lytle wrote:
> With today's release of 5.1.0, decided to upgrade from a home complied 
> 5.0.8
>
>
> The source link used is:
>
> https://download.kde.org/stable/kmymoney/5.1.0/src/
> I'm running Kubuntu 18.04 (a.k.a Ubuntu 18.04)
>
> Downloaded the released tar.xz file and extracted.  Created a 
> sub-directory of build and ran the following command from that directory
>
> cmake .. -DCMAKE_INSTALL_PREFIX=/usr
>
> And got the output text:
>
> https://pastebin.com/raw/eszNxkDs
>
> When trying to run make I get:
>
>
> Scanning dependencies of target po-uk-docs-kmymoney-kmymoney-1
> [  0%] Generating po/uk/docs/kmymoney/kmymoney.1
> Note: Writing kmymoney.1
> [  0%] Built target po-uk-docs-kmymoney-kmymoney-1
> Scanning dependencies of target po-it-docs-kmymoney-kmymoney-1
> [  0%] Generating po/it/docs/kmymoney/kmymoney.1
> Note: Writing kmymoney.1
> [  0%] Built target po-it-docs-kmymoney-kmymoney-1
> Scanning dependencies of target po-ca-docs-kmymoney-index-cache-bz2
> [  0%] Generating po/ca/docs/kmymoney/index.cache.bz2
> details-formats.docbook:105: parser error : Entity 'ASCII' not defined
> >armadura &ASCII;</emphasis
>                  ^
> details-formats.docbook:174: parser error : chunk is not well balanced
>
> ^
> index.docbook:368: parser error : Failure to process entity 
> details-formats
> &details-formats;
>                  ^
> index.docbook:368: parser error : Entity 'details-formats' not defined
> &details-formats;
>                  ^
> kf5.kdoctools: Error: `xmllint --noout` outputted text
> CMakeFiles/po-ca-docs-kmymoney-index-cache-bz2.dir/build.make:90: 
> recipe for target 'po/ca/docs/kmymoney/index.cache.bz2' failed
> make[2]: *** [po/ca/docs/kmymoney/index.cache.bz2] Error 1
> CMakeFiles/Makefile2:173: recipe for target 
> 'CMakeFiles/po-ca-docs-kmymoney-index-cache-bz2.dir/all' failed
> make[1]: *** [CMakeFiles/po-ca-docs-kmymoney-index-cache-bz2.dir/all] 
> Error 2
> Makefile:140: recipe for target 'all' failed
> make: *** [all] Error 2

Although the original docbook just uses the word ASCII, there was an 
entity for it defined in a more recent version of the tools used to 
process the documentation than are present in your version of Kubuntu.  
In your case, you can simply delete the po directory, since you don't 
intentially generate any translated versions, just the English.  (My 
guess, is that the entity is used in those locales mentioned in the 
error messages - Italian and Catalan.  I'm not really sure about UK English.

Note this does not address the problem in the cmake output of a too old 
libalkimia.  Even if you fix the docs issue, the build will likely fail 
later on, possibly even at the final linking stage.

Jack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20200614/5bf39bc6/attachment-0001.htm>


More information about the KMyMoney mailing list