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

john <[email protected]>
Newsgroups gmane.comp.gnome.apps.gnucash.devel
Message-ID <[email protected]>

> On Oct 2, 2022, at 3:38 PM, Bruce Schuck <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.