[GNC-dev] Flatpak GnuCash and Finance::Quote

john jralls at ceridwen.us
Mon Oct 3 00:09:31 EDT 2022



> On Oct 2, 2022, at 3:38 PM, Bruce Schuck <bschuck at asgard-systems.com> wrote:
> 
> Hello all,
> 
> Noticing that the most recent Flatpak version of GnuCash (4.12+ (Flathub 4.12)) has v1.49 of Finance::Quote, I wanted to update to the recent release candidate I pushed to CPAN. I believe there are issues running gnc-fq-update or cpan within the flatpak container because some of the modules required by F::Q v1.52 and later require the gcc compiler to make and install. As far as I can see, gcc is not in the flatpak GnuCash distribution.
> 
> While copying the ./lib/Finance tree from GitHub or a downloaded tarball may seem to work, some of the lesser used methods for data retrieval may not work.

Bruce,

Correct. IIUC there are a lot of things not normally included in a flatpak installation required to run cpan, so it's not really a practical option. We build Finance::Quote and all of its dependencies from source tarballs, see https://github.com/Gnucash/gnucash-on-flatpak/blob/master/modules/finance-quote-sources.json. Unfortunately F::Q has a lot of dependencies and the list isn't stable, so keeping up with the latest often falls in the "too much effort" category and doesn't get done.

If there's a better way, please share.

Regards,
John Ralls



More information about the gnucash-devel mailing list