FinanceQuote installation difficulties on Mac OS X 10.5

Iain Pardoe iainpardoe at gmail.com
Tue Jan 22 23:42:23 EST 2013


Thanks for the quick response John.  I tried deleting the .cpan folder  
as you suggested, then double-clicked on FinanceQuote Update again,  
and the same thing happened (no opportunity to change any of my  
answers to questions it asked the first time through). The last few  
lines of output were:

Failed Test         Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/00-use.t             2   512    19   36 189.47%  2-19
t/currency_lookup.t    2   512    12   24 200.00%  1-12
t/quote.t              2   512    28   56 200.00%  1-28
53 tests skipped.
Failed 3/56 test scripts, 94.64% okay. 58/59 subtests failed, 1.69%  
okay.
make: *** [test_dynamic] Error 255
   /usr/bin/make test -- NOT OK
Running make install
   make test had returned bad status, won't install without force

Before that was:

t/quote...............Can't locate HTML/TreeBuilder.pm in @INC (@INC  
contains: /Users/ipardoe/.cpan/build/Finance-Quote-1.18/inc /Users/ 
ipardoe/.cpan/build/Finance-Quote-1.18/blib/lib /Users/ipardoe/.cpan/ 
build/Finance-Quote-1.18/blib/arch /Library/Perl/Updates/5.8.8/darwin- 
thread-multi-2level /Library/Perl/Updates/5.8.8 /System/Library/Perl/ 
5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/ 
Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/ 
Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/ 
Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/ 
5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 / 
Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at /Users/ipardoe/.cpan/ 
build/Finance-Quote-1.18/blib/lib/Finance/Quote/Bourso.pm line 72.
BEGIN failed--compilation aborted at /Users/ipardoe/.cpan/build/ 
Finance-Quote-1.18/blib/lib/Finance/Quote/Bourso.pm line 72.
Compilation failed in require at (eval 14) line 1.
BEGIN failed--compilation aborted at (eval 14) line 1.
  at t/quote.t line 8
Can't locate object method "methods" via package  
"Finance::Quote::Bourso" at /Users/ipardoe/.cpan/build/Finance- 
Quote-1.18/blib/lib/Finance/Quote.pm line 119.
# Looks like your test exited with 2 before it could output anything.
t/quote...............dubious
	Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-28
	Failed 28/28 tests, 0.00% okay
t/seb.................skipped
         all skipped: Set $ENV{ONLINE_TEST} to run this test
t/sixfunds............skipped
         all skipped: Set $ENV{ONLINE_TEST} to run this test
[then a bunch more lines like this]

I also noticed the following earlier in the output:

Going to read /Users/ipardoe/.cpan/sources/modules/ 
02packages.details.txt.gz
   Database was generated on Mon, 21 Jan 2013 00:07:03 GMT

   There's a new CPAN.pm version (v1.9800) available!
   [Current version is v1.7602]
   You might want to try
     install Bundle::CPAN
     reload cpan
   without quitting the current session. It should be a seamless upgrade
   while we are running...

and a short while after that it asked me:

Warning: prerequisite HTML::TreeBuilder 0 not found.
Writing Makefile for Finance::Quote
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during [E/EC/ECOCODE/Finance- 
Quote-1.18.tar.gz] -----
     HTML::TreeBuilder
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]

Thanks again for your help with this.

Best wishes, Iain

On 22-Jan-13, at 8:24 PM, John Ralls wrote:

>
> On Jan 22, 2013, at 7:58 PM, ipardoe <iainpardoe at gmail.com> wrote:
>
>> I followed the instructions for installing Finance::Quote on Mac OS  
>> X 10.5
>> but without success.  The final message in my Terminal window is:
>> Running make install
>> make test had returned bad status, won't install without force
>> I recall that one question the script asked was something about  
>> where to
>> look for various files with the default being usr/local/bin, which I
>> accepted. I'm wondering if perhaps I should have entered Developer/ 
>> usr/bin
>> instead? I don't know how to do this over again, however. When I
>> double-click FinanceQuote Update again the script doesn't ask me  
>> any of the
>> questions it asked me before, but instead it seems to simply re-use  
>> the
>> answers I entered before (and so the installation just fails again).
>> Is it possible to try the installation over again with the script  
>> asking me
>> all the questions it asked me the first time?
>> Sorry if my question doesn't make much sense - I'm way out of my  
>> depth here.
>> Thanks for any help.
>
> Normally just accepting the defaults works, and that's what the  
> instructions say to do.
>
> You can start over by deleting the .cpan folder in your home  
> folder.It's hidden by default in Finder, so the easiest way
> is to open a Terminal session and use
> sudo rm -rf .cpan
>
> I need a bit more than "returned bad status, won't install without  
> force". I need at least to know what package failed,
> which is usually visible in the last screenful of output.
>
> Regards,
> John Ralls
>



More information about the gnucash-user mailing list