finance-quote not working
Wouter van Marle
wouter at squirrel-systems.com
Mon May 8 02:27:19 EDT 2006
On Thu, 2006-05-04 at 15:47 -0600, Matthew D. Peavy wrote:
> GnuCash List,
> I am running GnuCash 1.8.11, installed on Mandriva 2006.
> I just moved to a new machine and was trying to get GnuCash to work, but
> I'm having a problem with the finance-quote module.
> I tried running update-finance-quote as root, but it seems to give me
> some problems. Running dump-finance-quote shows that something is
> wrong. I have copied the output below.
> When I try to Get Quotes within the price editor, I receive the message:
> There was a system error while trying to retrieve the price quotes.
> Can anyone help diagnose the problem?
I just happened to run into the problem last weekend when fiddling with
the module (which now works fine, except that i haven't found a source
for *my* mutual funds)...
It basically means you're missing a perl library! I remember it's
perl-devel (development headers for perl), but name depends on your
distro. Anyway I hope this gives you enough to find it.
Try to search in your package manager (rpm or apt or whatever) for
packages containing that file name.
> [root at localhost matthew]# update-finance-quote
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
> ... lots more output here ...
> /usr/bin/perl5.8.7 mkpfunc >pfunc.h
> make: *** No rule to make target
> `/usr/lib/perl5/5.8.7/i386-linux/CORE/EXTERN.h', needed by `Parser.o'.
> /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
> Finance::Quote is up to date.
> [root at localhost matthew]# dump-finance-quote
> Can't locate CGI.pm in @INC (@INC contains:
> /usr/lib/perl5/5.8.7/i386-linux /usr/lib/perl5/5.8.7
> /usr/lib/perl5/site_perl/5.8.7/i386-linux /usr/lib/perl5/site_perl/5.8.7
> /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i386-linux
> /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl
> .) at /usr/lib/perl5/site_perl/5.8.7/Finance/Quote/AEX.pm line 45.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.8.7/Finance/Quote/AEX.pm line 45.
> Compilation failed in require at (eval 11) line 1.
> BEGIN failed--compilation aborted at (eval 11) line 1.
> at /usr/bin/dump-finance-quote line 131
> Can't locate object method "methods" via package "Finance::Quote::AEX"
> at /usr/lib/perl5/site_perl/5.8.7/Finance/Quote.pm line 112.
> gnucash-user mailing list
> gnucash-user at gnucash.org
> 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