[GNC] How to update Finance::Quote

rsbrux rsbrux at yahoo.com
Mon Jul 8 09:16:52 EDT 2019


If this is the wrong venue for this question, please refer me to the 
correct one.

I am try to update my FInanace::Quote installation (under Ubuntu Studio 
18.04) to the latest version (1.49).

First I performed:

cpan -D Finance::Quote

as recommended in https://wiki.gnucash.org/wiki/CPAN.

It indicated that my CPAN was also out of date, so I first updated CPAN.

I then ran "upgrade Finance::Quote" from the cpan interactive prompt.?? 
This appears to have failed, as the cpan command above still shows F::Q 1.47

The output of the upgrade attempt was quite long and the beginning 
scrolled out of the terminal window.

Unfortunately, I am too ignorant to understand most of it.?? I have 
posted below the tail-end, which appear to reflect the installation of 
F::Q; preceeding parts appear to deal with (equally futile) attempts to 
install or upgrade other modules.

I intentionally ran cpan with normal privileges from my normal user 
account becaue I have read that suprivileges should only be needed to 
install or update CPAN and can otherwise be dangerous.

Must I install as su??? Is there something else I am missing here?

 >>

 ?? You may have to su to root to install the package
 ?? (Or you may want to run something like
 ?????? o conf make_install_make_command 'sudo make'
 ?? to raise your permissions.?? ECOCODE/Finance-Quote-1.49.tar.gz
 ?? Has already been unwrapped into directory 
/home/rbrooks/.cpan/build/Finance-Quote-1.49-0
 ?? ECOCODE/Finance-Quote-1.49.tar.gz
 ?? Has already been prepared
Running make for E/EC/ECOCODE/Finance-Quote-1.49.tar.gz
cp lib/Finance/Quote/NZX.pm blib/lib/Finance/Quote/NZX.pm
cp lib/Finance/Quote/MorningstarJP.pm 
blib/lib/Finance/Quote/MorningstarJP.pm
cp lib/Finance/Quote/Cdnfundlibrary.pm 
blib/lib/Finance/Quote/Cdnfundlibrary.pm
cp lib/Finance/Quote/IEXCloud.pm blib/lib/Finance/Quote/IEXCloud.pm
cp lib/Finance/Quote/Currencies.pm blib/lib/Finance/Quote/Currencies.pm
cp lib/Finance/Quote/DWS.pm blib/lib/Finance/Quote/DWS.pm
cp lib/Finance/Quote/Bourso.pm blib/lib/Finance/Quote/Bourso.pm
cp lib/Finance/Quote/IndiaMutual.pm blib/lib/Finance/Quote/IndiaMutual.pm
cp lib/Finance/Quote/FTPortfolios.pm blib/lib/Finance/Quote/FTPortfolios.pm
cp lib/Finance/Quote/ManInvestments.pm 
blib/lib/Finance/Quote/ManInvestments.pm
cp lib/Finance/Quote/Citywire.pm blib/lib/Finance/Quote/Citywire.pm
cp lib/Finance/Quote/Finanzpartner.pm 
blib/lib/Finance/Quote/Finanzpartner.pm
cp lib/Finance/Quote.pm blib/lib/Finance/Quote.pm
cp lib/Finance/Quote/Fidelity.pm blib/lib/Finance/Quote/Fidelity.pm
cp lib/Finance/Quote/BMONesbittBurns.pm 
blib/lib/Finance/Quote/BMONesbittBurns.pm
cp lib/Finance/Quote/LeRevenu.pm blib/lib/Finance/Quote/LeRevenu.pm
cp lib/Finance/Quote/HU.pm blib/lib/Finance/Quote/HU.pm
cp lib/Finance/Quote/AIAHK.pm blib/lib/Finance/Quote/AIAHK.pm
cp lib/Finance/Quote/Deka.pm blib/lib/Finance/Quote/Deka.pm
cp lib/Finance/Quote/Morningstar.pm blib/lib/Finance/Quote/Morningstar.pm
cp lib/Finance/Quote/ASEGR.pm blib/lib/Finance/Quote/ASEGR.pm
cp lib/Finance/Quote/MorningstarAU.pm 
blib/lib/Finance/Quote/MorningstarAU.pm
cp lib/Finance/Quote/FidelityFixed.pm 
blib/lib/Finance/Quote/FidelityFixed.pm
cp lib/Finance/Quote/BSERO.pm blib/lib/Finance/Quote/BSERO.pm
cp lib/Finance/Quote/HEX.pm blib/lib/Finance/Quote/HEX.pm
cp lib/Finance/Quote/Platinum.pm blib/lib/Finance/Quote/Platinum.pm
cp lib/Finance/Quote/CSE.pm blib/lib/Finance/Quote/CSE.pm
cp lib/Finance/Quote/MStaruk.pm blib/lib/Finance/Quote/MStaruk.pm
cp lib/Finance/Quote/GoldMoney.pm blib/lib/Finance/Quote/GoldMoney.pm
cp lib/Finance/Quote/FinanceCanada.pm 
blib/lib/Finance/Quote/FinanceCanada.pm
cp lib/Finance/Quote/MorningstarCH.pm 
blib/lib/Finance/Quote/MorningstarCH.pm
cp lib/Finance/Quote/ASX.pm blib/lib/Finance/Quote/ASX.pm
cp lib/Finance/Quote/AlphaVantage.pm blib/lib/Finance/Quote/AlphaVantage.pm
cp lib/Finance/Quote/FTfunds.pm blib/lib/Finance/Quote/FTfunds.pm
cp lib/Finance/Quote/Fool.pm blib/lib/Finance/Quote/Fool.pm
cp lib/Finance/Quote/AEX.pm blib/lib/Finance/Quote/AEX.pm
cp lib/Finance/Quote/Cominvest.pm blib/lib/Finance/Quote/Cominvest.pm
cp lib/Finance/Quote/VWD.pm blib/lib/Finance/Quote/VWD.pm
cp lib/Finance/Quote/Trustnet.pm blib/lib/Finance/Quote/Trustnet.pm
cp lib/Finance/Quote/SIXshares.pm blib/lib/Finance/Quote/SIXshares.pm
cp lib/Finance/Quote/YahooJSON.pm blib/lib/Finance/Quote/YahooJSON.pm
cp lib/Finance/Quote/StockHouseCanada.pm 
blib/lib/Finance/Quote/StockHouseCanada.pm
cp lib/Finance/Quote/Tdefunds.pm blib/lib/Finance/Quote/Tdefunds.pm
cp lib/Finance/Quote/UserAgent.pm blib/lib/Finance/Quote/UserAgent.pm
cp lib/GRTAGS blib/lib/GRTAGS
cp lib/Finance/Quote/TSP.pm blib/lib/Finance/Quote/TSP.pm
cp lib/Finance/Quote/ZA_UnitTrusts.pm 
blib/lib/Finance/Quote/ZA_UnitTrusts.pm
cp lib/Finance/Quote/USFedBonds.pm blib/lib/Finance/Quote/USFedBonds.pm
cp lib/Finance/Quote/SEB.pm blib/lib/Finance/Quote/SEB.pm
cp lib/Finance/Quote/SIXfunds.pm blib/lib/Finance/Quote/SIXfunds.pm
cp lib/GPATH blib/lib/GPATH
cp lib/GTAGS blib/lib/GTAGS
cp lib/Finance/Quote/ZA.pm blib/lib/Finance/Quote/ZA.pm
cp lib/Finance/Quote/Tiaacref.pm blib/lib/Finance/Quote/Tiaacref.pm
cp lib/Finance/Quote/TNetuk.pm blib/lib/Finance/Quote/TNetuk.pm
cp lib/Finance/Quote/TSX.pm blib/lib/Finance/Quote/TSX.pm
cp lib/Finance/Quote/YahooYQL.pm blib/lib/Finance/Quote/YahooYQL.pm
cp lib/Finance/Quote/Troweprice.pm blib/lib/Finance/Quote/Troweprice.pm
cp lib/Finance/Quote/Tdwaterhouse.pm blib/lib/Finance/Quote/Tdwaterhouse.pm
cp lib/Finance/Quote/Union.pm blib/lib/Finance/Quote/Union.pm
Manifying 32 pod documents
Manifying 19 pod documents
 ?? ECOCODE/Finance-Quote-1.49.tar.gz
 ?? /usr/bin/make -- OK
The current configuration of allow_installing_outdated_dists is 
'ask/yes', but for this option we would need 'CPAN::DistnameInfo' 
installed. Please install 'CPAN::DistnameInfo' as soon as possible. As 
long as we are not equipped with 'CPAN::DistnameInfo' this option does 
not take effect
Running make test for ECOCODE/Finance-Quote-1.49.tar.gz
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" 
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 
'blib/lib', 'blib/arch')" t/*.t
t/00-use.t ............. ok
t/01-pod.t ............. skipped: Author test.?? Set $ENV{TEST_AUTHOR} to 
true to run.
t/02-pod-coverage.t .... skipped: Author test.?? Set $ENV{TEST_AUTHOR} to 
true to run.
t/03-kwalitee.t ........ skipped: Author test.?? Set $ENV{TEST_AUTHOR} to 
true to run.
t/04-critic.t .......... skipped: Author test.?? Set $ENV{TEST_AUTHOR} to 
true to run.
t/05-data-dumper.t ..... skipped: Author test.?? Set $ENV{TEST_AUTHOR} to 
true to run.
t/aex.t ................ skipped: Set $ENV{ONLINE_TEST} to run this test
t/aiahk.t .............. skipped: Set $ENV{ONLINE_TEST} to run this test
t/alphavantage.t ....... skipped: Set $ENV{ONLINE_TEST} to run this test
t/asegr.t .............. skipped: Set $ENV{ONLINE_TEST} to run this test
t/asx.t ................ skipped: Set $ENV{ONLINE_TEST} to run this test
t/aufunds.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/author-pod-syntax.t .. skipped: these tests are for testing by the author
t/bmonesbittburns.t .... skipped: Set $ENV{ONLINE_TEST} to run this test
t/bourso.t ............. skipped: Set $ENV{ONLINE_TEST} to run this test
t/bsero.t .............. skipped: Set $ENV{ONLINE_TEST} to run this test
t/cdnfundlibrary.t ..... skipped: Set $ENV{ONLINE_TEST} to run this test
t/citywire.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/cominvest.t .......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/cse.t ................ skipped: Set $ENV{ONLINE_TEST} to run this test
t/currencies.t ......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/currency.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/currency_lookup.t .... 1/12 Invalid parameter: invalid_param at 
/home/rbrooks/.cpan/build/Finance-Quote-1.49-0/blib/lib/Finance/Quote.pm 
line 330.
t/currency_lookup.t .... ok
t/deka.t ............... skipped: Set $ENV{ONLINE_TEST} to run this test
t/dws.t ................ skipped: Set $ENV{ONLINE_TEST} to run this test
t/fidelity.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/fidelityfixed.t ...... skipped: Set $ENV{ONLINE_TEST} to run this test
t/financecanada.t ...... skipped: Set $ENV{ONLINE_TEST} to run this test
t/finanzpartner.t ...... skipped: Set $ENV{ONLINE_TEST} to run this test
t/ftfunds.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/ftportfolios.t ....... skipped: Set $ENV{ONLINE_TEST} to run this test
t/goldmoney.t .......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/hex.t ................ skipped: Set $ENV{ONLINE_TEST} to run this test
t/hu.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/iexcloud.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/indiamutual.t ........ skipped: Set $ENV{ONLINE_TEST} to run this test
t/lerevenu.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/maninvestments.t ..... skipped: Set $ENV{ONLINE_TEST} to run this test
t/morningstar.t ........ skipped: Set $ENV{ONLINE_TEST} to run this test
t/morningstarau.t ...... skipped: Set $ENV{ONLINE_TEST} to run this test
t/morningstarCH.t ...... skipped: Set $ENV{ONLINE_TEST} to run this test
t/morningstarJP.t ...... skipped: Set $ENV{ONLINE_TEST} to run this test
t/mstaruk.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/nzx.t ................ skipped: Set $ENV{ONLINE_TEST} to run this test
t/platinum.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/quote.t .............. ok
t/seb.t ................ skipped: Set $ENV{ONLINE_TEST} to run this test
t/sixfunds.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/sixshares.t .......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/stockhousecanada.t ... skipped: Set $ENV{ONLINE_TEST} to run this test
t/tdefunds.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/tdwaterhouse.t ....... skipped: Set $ENV{ONLINE_TEST} to run this test
t/tiaacref.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/tnetuk.t ............. skipped: Set $ENV{ONLINE_TEST} to run this test
t/troweprice.t ......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/trustnet.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/tsp.t ................ skipped: Set $ENV{ONLINE_TEST} to run this test
t/tsx.t ................ skipped: Set $ENV{ONLINE_TEST} to run this test
t/ukfunds.t ............ skipped: Set $ENV{ONLINE_TEST} to run this test
t/union.t .............. skipped: Set $ENV{ONLINE_TEST} to run this test
t/usfedbonds.t ......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/vanguard.t ........... skipped: Set $ENV{ONLINE_TEST} to run this test
t/vwd.t ................ skipped: Set $ENV{ONLINE_TEST} to run this test
t/yahoojson.t .......... skipped: Set $ENV{ONLINE_TEST} to run this test
t/za.t ................. skipped: Set $ENV{ONLINE_TEST} to run this test
t/za_unittrusts.t ...... skipped: Set $ENV{ONLINE_TEST} to run this test
All tests successful.
Files=66, Tests=59,?? 9 wallclock secs ( 0.22 usr?? 0.11 sys +?? 6.44 cusr?? 
1.72 csys =?? 8.49 CPU)
Result: PASS
 ?? ECOCODE/Finance-Quote-1.49.tar.gz
 ?? /usr/bin/make test -- OK
Running make install for ECOCODE/Finance-Quote-1.49.tar.gz
Manifying 32 pod documents
Manifying 19 pod documents
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/local/man/man3'
Do not have write permissions on '/usr/local/man/man3'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 ??at -e line 1.
Makefile:1001: recipe for target 'pure_site_install' failed
make: *** [pure_site_install] Error 13
 ?? ECOCODE/Finance-Quote-1.49.tar.gz
 ?? /usr/bin/make install?? -- NOT OK
----
 ?? You may have to su to root to install the package
 ?? (Or you may want to run something like
 ?????? o conf make_install_make_command 'sudo make'
 ?? to raise your permissions.Failed during this command:
 ??RJBS/Test-Fatal-0.014.tar.gz???????????????????????????????? : install NO
 ??DOY/Dist-CheckConflicts-0.11.tar.gz?????????????????? : install NO
 ??ETHER/File-ShareDir-Install-0.13.tar.gz?????????? : install NO
 ??RJBS/Test-Deep-1.128.tar.gz?????????????????????????????????? : install NO
 ??LEONT/CPAN-Meta-Check-0.014.tar.gz???????????????????? : install NO
 ??DAGOLDEN/Class-Tiny-1.006.tar.gz???????????????????????? : install NO
 ??DAGOLDEN/Path-Tiny-0.108.tar.gz?????????????????????????? : install NO
 ??CHOCOLATE/Scope-Guard-0.21.tar.gz?????????????????????? : install NO
 ??KENTNL/Test-File-ShareDir-1.001002.tar.gz?????? : install NO
 ??TOKUHIROM/Test-Requires-0.10.tar.gz?????????????????? : install NO
 ??ETHER/Test-Warnings-0.026.tar.gz???????????????????????? : install NO
 ??DROLSKY/DateTime-Locale-1.24.tar.gz?????????????????? : install NO
 ??DROLSKY/DateTime-Format-Strptime-1.76.tar.gz : install NO
 ??BKB/JSON-Parse-0.55.tar.gz???????????????????????????????????? : install NO
 ??ABH/Mozilla-CA-20180117.tar.gz???????????????????????????? : install NO
 ??MIKO/Number-Misc-1.2.tar.gz?????????????????????????????????? : install NO
 ??MIKO/Test-Toolbox-0.4.tar.gz???????????????????????????????? : install NO
 ??MIKO/String-Util-1.26.tar.gz???????????????????????????????? : install NO
 ??ETHER/Test-Pod-1.52.tar.gz???????????????????????????????????? : install NO
 ??MONS/Test-More-UTF8-0.05.tar.gz?????????????????????????? : install NO
 ??MSCHOUT/Text-Template-1.55.tar.gz?????????????????????? : install NO
 ??ECOCODE/Finance-Quote-1.49.tar.gz?????????????????????? : install NO





More information about the gnucash-user mailing list