From: James Edmunds <jimmy...@hotmail.co.uk>
I have just upgraded from Ubuntu 16.04 to 18.04.
FYI - Ubuntu 22.04LTS will be released in April.
I then wished to install the latest version of FQ. The command
?gnc-fq-update ? is not included in Ubuntu 16.04 or 18.04. So I
searched the internet for an alternative command. I found ?cpanm
Finance::Quote ? and ran it . Note by mistake I did not run as sudo ,
I don?t know whether that matters .
FQ 1.49 files appear to be in
/usr/local/share/perl/5.22.1/Finance/Quote
FQ 1.47 files appear to be in /usr/share/perl5/Finance/Quote
FQ 1.51 files appear to be in /home/perl5/lib/perl5/Finance/Quote
Have I installed 1.51 correctly, if not how do I install it and get>
it working ?
With Perl, "correctly" can be a subjective term. Both cpan and cpanm can
be configured to install Perl Modules in different locations including
the default Perl include path (@INC). My guess is that although cpanm
installed FQ in /home/perl5/lib/perl5/Finance/Quote (is that
/home/perl5/... or /home/<yourlogin>/...), that directory is not part of
your INC path (what is the output of "perl -V"?). I also would not be
surprised if cpanm did not install some other modules underneath
/home/perl5/lib/perl5.
I would try the following.
Add "export PERL5LIB=/home/perl5/lib/perl5" to your "~/.bashrc" file and
"PERL5LIB=/home/perl5/lib/perl5" /etc/gnucash/environment. Log out and
back in that try gnc-fq-check.
Or run cpanm as root or with the "--sudo" option.
Hope this helps.
- Bruce S.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.