Retrieving online quotes
D
sunfish62 at yahoo.com
Mon Aug 21 11:06:33 EDT 2017
Peter,
Good to hear!
Can you explain what it was about the instructions that was inaccurate? We can see about fixing that.
David
On August 21, 2017, at 7:16 PM, Peter Ling <pete at mrling.com> wrote:
Thanks David,
I had trouble with the installation of Xcode as the instructions aren’t quite accurate. I’ve got it installed now and its fixed the problem.
Many thanks
Peter
On 21 Aug 2017, at 01:48, D <sunfish62 at yahoo.com> wrote:
Peter,
Please use reply-all; keeping the conversation on the list ensures that you get the best advice (especially since I am not an expert, but just another user like you).
The output you included will likely be helpful. I see a lot of failures there, but it seems like the first one mentions that xcrun is missing from your command line tools. Did you install the Xcode toolset, as mentioned in the wiki?
If that isn't the problem, perhaps others can advise.
David
On August 20, 2017, at 6:51 PM, Peter Ling <pete at mrling.com> wrote:
Thanks David,
On running update finance quote and entering my password the following is returned.
Last login: Sun Aug 20 14:45:19 on ttys000
sudo '/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update'
Peter-Lings-MBP:~ pete$ sudo '/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update'
Password:
Reading '/Users/pete/.cpan/Metadata'
Database was generated on Sat, 19 Aug 2017 00:41:03 GMT
Running install for module 'Date::Manip'
Running make for S/SB/SBECK/Date-Manip-6.59.tar.gz
Checksum for /Users/pete/.cpan/sources/authors/id/S/SB/SBECK/Date-Manip-6.59.tar.gz ok
---- Unsatisfied dependencies detected during ----
---- SBECK/Date-Manip-6.59.tar.gz ----
ExtUtils::MakeMaker [build_requires]
Running make test
Make had some problems, won't test
Delayed until after prerequisites
Running make install
Make had some problems, won't install
Delayed until after prerequisites
Running install for module 'ExtUtils::MakeMaker'
Running make for B/BI/BINGOS/ExtUtils-MakeMaker-7.30.tar.gz
Checksum for /Users/pete/.cpan/sources/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.30.tar.gz ok
CPAN.pm: Building B/BI/BINGOS/ExtUtils-MakeMaker-7.30.tar.gz
Using included version of CPAN::Meta (2.143240) as it is newer than the installed version (2.133380).
Using included version of CPAN::Meta::Requirements (2.131) as it is newer than the installed version (2.122).
Using included version of CPAN::Meta::YAML (0.011) as it is newer than the installed version (0.008).
Using included version of ExtUtils::Install (2.06) as it is newer than the installed version (1.59).
Using included version of ExtUtils::Manifest (1.70) as it is newer than the installed version (1.63).
Using included version of JSON::PP (2.27203) as it is newer than the installed version (2.27202).
Using included version of Parse::CPAN::Meta (1.4414) as it is newer than the installed version (1.4404).
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for ExtUtils::MakeMaker
Writing MYMETA.yml and MYMETA.json
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
BINGOS/ExtUtils-MakeMaker-7.30.tar.gz
/usr/bin/make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Running make for S/SB/SBECK/Date-Manip-6.59.tar.gz
Warning: Prerequisite 'ExtUtils::MakeMaker => 6.67_01' for 'SBECK/Date-Manip-6.59.tar.gz' failed when processing 'BINGOS/ExtUtils-MakeMaker-7.30.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
CPAN.pm: Building S/SB/SBECK/Date-Manip-6.59.tar.gz
ExtUtils::MakeMaker version 6.6701 required--this is only version 6.66 at Makefile.PL line 8.
BEGIN failed--compilation aborted at Makefile.PL line 8.
Warning: No success on command[/usr/bin/perl Makefile.PL]
SBECK/Date-Manip-6.59.tar.gz
/usr/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites
Running install for module 'Finance::Quote'
Running make for E/EC/ECOCODE/Finance-Quote-1.38.tar.gz
Checksum for /Users/pete/.cpan/sources/authors/id/E/EC/ECOCODE/Finance-Quote-1.38.tar.gz ok
CPAN.pm: Building E/EC/ECOCODE/Finance-Quote-1.38.tar.gz
Checking if your kit is complete...
Looks good
Warning: prerequisite HTML::TableExtract 0 not found.
Warning: prerequisite JSON 0 not found.
Warning: prerequisite Mozilla::CA 0 not found.
Writing Makefile for Finance::Quote
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- ECOCODE/Finance-Quote-1.38.tar.gz ----
Mozilla::CA [requires]
JSON [requires]
HTML::TableExtract [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'Mozilla::CA'
Running make for A/AB/ABH/Mozilla-CA-20160104.tar.gz
Checksum for /Users/pete/.cpan/sources/authors/id/A/AB/ABH/Mozilla-CA-20160104.tar.gz ok
CPAN.pm: Building A/AB/ABH/Mozilla-CA-20160104.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Mozilla::CA
Writing MYMETA.yml and MYMETA.json
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ABH/Mozilla-CA-20160104.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Running install for module 'JSON'
Running make for I/IS/ISHIGAKI/JSON-2.94.tar.gz
Checksum for /Users/pete/.cpan/sources/authors/id/I/IS/ISHIGAKI/JSON-2.94.tar.gz ok
CPAN.pm: Building I/IS/ISHIGAKI/JSON-2.94.tar.gz
Welcome to JSON (v.2.94)
=============================
** BACKWARD INCOMPATIBILITY **
Since version 2.90, stringification (and string comparison) for
JSON::true and JSON::false has not been overloaded. It shouldn't
matter as long as you treat them as boolean values, but a code that
expects they are stringified as "true" or "false" doesn't work as
you have expected any more.
if (JSON::true eq 'true') { # now fails
print "The result is 1 now."; # => The result is 1 now.
And now these boolean values don't inherit JSON::Boolean, either.
When you need to test a value is a JSON boolean value or not, use
JSON::is_bool function, instead of testing the value inherits
a particular boolean class or not.
Checking if your kit is complete...
Looks good
Writing Makefile for JSON
Writing MYMETA.yml and MYMETA.json
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ISHIGAKI/JSON-2.94.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Running install for module 'HTML::TableExtract'
Running make for M/MS/MSISK/HTML-TableExtract-2.15.tar.gz
Checksum for /Users/pete/.cpan/sources/authors/id/M/MS/MSISK/HTML-TableExtract-2.15.tar.gz ok
CPAN.pm: Building M/MS/MSISK/HTML-TableExtract-2.15.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for HTML-TableExtract
Writing MYMETA.yml and MYMETA.json
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
MSISK/HTML-TableExtract-2.15.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Running make for E/EC/ECOCODE/Finance-Quote-1.38.tar.gz
Has already been unwrapped into directory /Users/pete/.cpan/build/Finance-Quote-1.38-NiiQa8
CPAN.pm: Building E/EC/ECOCODE/Finance-Quote-1.38.tar.gz
Warning: Prerequisite 'Mozilla::CA => 0' for 'ECOCODE/Finance-Quote-1.38.tar.gz' failed when processing 'ABH/Mozilla-CA-20160104.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'JSON => 0' for 'ECOCODE/Finance-Quote-1.38.tar.gz' failed when processing 'ISHIGAKI/JSON-2.94.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'HTML::TableExtract => 0' for 'ECOCODE/Finance-Quote-1.38.tar.gz' failed when processing 'MSISK/HTML-TableExtract-2.15.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ECOCODE/Finance-Quote-1.38.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Peter-Lings-MBP:~ pete$
Peter
On 20 Aug 2017, at 02:35, D <sunfish62 at yahoo.com> wrote:
Peter,
It isn't entirely clear what you have done thus far to install Finance::Quote, which is what Gnucash uses to retrieve quotes. Unfortunately, the help document doesn't actually provide step by step instructions on installation (an oversight, to be sure). However, the wiki has pretty detailed instructions at https://wiki.gnucash.org/wiki/FAQ#Q:_How_do_I_install_Finance::Quote_on_a_Mac.3F
Take a look at that page and see if it helps you, and let us know where in that process you get hung up.
David
On August 20, 2017, at 5:54 AM, Peter Ling <pete at mrling.com> wrote:
Hi there,
I’ve installed GNUCash 2.6.17 and wish to retrieve online stock quotes on a mac.
I’ve followed 5.4.1.1. Steps to enable On-line price updating
When I type “perldoc Finance::Quote into the terminal window it returns
No documentation found for "Finance::Quote”
According to the docs this means that it is not installed, however it later says that if you have installed from the installer then Finance::Quote is already installed.
Typing gnc-fq-dump returns command not found.
Any assistance would be greatly appreciated.
Many thanks
Peter
_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list