Enabling Financial Quote

John Ralls jralls at ceridwen.us
Mon Feb 25 11:20:00 EST 2013


On Feb 25, 2013, at 7:25 AM, Elizabeth Pandolfo Briggs <pandolfo at ninthwonder.com> wrote:

> On 2/24/13 8:29 PM, John Ralls wrote:
>> I'm guessing that you used ftp from terminal for that test. The trick for anonymous login to a public ftp site is to use either "ftp" or "anonymous"
>> as the user id and your email address for a password. In the old days before
>> spam, it was safe to enter a real email. I don't think I'd do that today.
>> It's anyway easier to use a web browser, which won't ask for a password. The problem is that neither manual method will work for CPAN, so we need to figure out what's gotten borked with your CPAN installation.
> 
> No, actually I used a web browser, and it automatically filled in my name for login and requested a password. But anyway...
>> Try running this in Terminal:
>>   sudo rm -rf ~/.cpan
>>   sudo cpan -i Finance::Quote
>> 
>> It will ask a bunch of configuration questions. It's usually OK to just hit return for all of them, as the default is usually good enough, but in this case check the defaults to make sure that it isn't setting any strange paths (like setting ftp to something other than /usr/bin/ftp).
> 
> It didn't work. I've included the session below, beginning with after the CPAN mirrors had been acquired. Any ideas as to why it failed?
> 
> Thanks,
> Elizabeth Briggs
> 
> 
> New urllist
> 
> Autoconfiguration complete.
> 
> commit: wrote '/System/Library/Perl/5.12/CPAN/Config.pm'
> Fetching with LWP:
> http://www.perl.org/CPAN/authors/01mailrc.txt.gz
> Going to read '/Users/pandolfo/.cpan/sources/authors/01mailrc.txt.gz'
> ............................................................................DONE
> Fetching with LWP:
> http://www.perl.org/CPAN/modules/02packages.details.txt.gz
> Going to read '/Users/pandolfo/.cpan/sources/modules/02packages.details.txt.gz'
>  Database was generated on Mon, 25 Feb 2013 15:07:42 GMT
> ..............
>  New CPAN.pm version (v1.9800) available.
>  [Currently running version is v1.9456]
>  You might want to try
>    install CPAN
>    reload cpan
>  to both upgrade CPAN.pm and run the new version without leaving
>  the current session.
> 
> 
> ..............................................................DONE
> Fetching with LWP:
> http://www.perl.org/CPAN/modules/03modlist.data.gz
> Going to read '/Users/pandolfo/.cpan/sources/modules/03modlist.data.gz'
> ............................................................................DONE
> Going to write /Users/pandolfo/.cpan/Metadata
> Running install for module 'Finance::Quote'
> Running make for E/EC/ECOCODE/Finance-Quote-1.18.tar.gz
> Fetching with LWP:
> http://www.perl.org/CPAN/authors/id/E/EC/ECOCODE/Finance-Quote-1.18.tar.gz
> Fetching with LWP:
> http://www.perl.org/CPAN/authors/id/E/EC/ECOCODE/CHECKSUMS
> Checksum for /Users/pandolfo/.cpan/sources/authors/id/E/EC/ECOCODE/Finance-Quote-1.18.tar.gz ok
> 
>  CPAN.pm: Going to build E/EC/ECOCODE/Finance-Quote-1.18.tar.gz
> 
> Checking if your kit is complete...
> Looks good
> Warning: prerequisite Crypt::SSLeay 0 not found.
> Warning: prerequisite HTML::TableExtract 0 not found.
> Writing Makefile for Finance::Quote
> ---- Unsatisfied dependencies detected during ----
> ----     ECOCODE/Finance-Quote-1.18.tar.gz    ----
>    HTML::TableExtract [requires]
>    Crypt::SSLeay [requires]
> Running make test
>  Delayed until after prerequisites
> Running make install
>  Delayed until after prerequisites
> Running install for module 'HTML::TableExtract'
> Running make for M/MS/MSISK/HTML-TableExtract-2.11.tar.gz
> Fetching with LWP:
> http://www.perl.org/CPAN/authors/id/M/MS/MSISK/HTML-TableExtract-2.11.tar.gz
> Fetching with LWP:
> http://www.perl.org/CPAN/authors/id/M/MS/MSISK/CHECKSUMS
> Checksum for /Users/pandolfo/.cpan/sources/authors/id/M/MS/MSISK/HTML-TableExtract-2.11.tar.gz ok
> 
>  CPAN.pm: Going to build M/MS/MSISK/HTML-TableExtract-2.11.tar.gz
> 
> Checking if your kit is complete...
> Looks good
> Writing Makefile for HTML-TableExtract
>  MSISK/HTML-TableExtract-2.11.tar.gz
>  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 install for module 'Crypt::SSLeay'
> Running make for N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz
> Fetching with LWP:
> http://www.perl.org/CPAN/authors/id/N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz
> Fetching with LWP:
> http://www.perl.org/CPAN/authors/id/N/NA/NANIS/CHECKSUMS
> Checksum for /Users/pandolfo/.cpan/sources/authors/id/N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz ok
> 
>  CPAN.pm: Going to build N/NA/NANIS/Crypt-SSLeay-0.64.tar.gz
> 
> The test suite can attempt to connect to public servers to ensure that the
> code is working properly. If you are behind a strict firewall or have no
> network connectivity, these tests may fail (through no fault of the code).
> Do you want to run the live tests (y/N)? [N]
> Checking if your kit is complete...
> Looks good
> Note (probably harmless): No library found for -lssl32
> Note (probably harmless): No library found for -lssleay32
> Note (probably harmless): No library found for -leay32
> Writing Makefile for Crypt::SSLeay
>  NANIS/Crypt-SSLeay-0.64.tar.gz
>  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.18.tar.gz
>  Has already been unwrapped into directory /Users/pandolfo/.cpan/build/Finance-Quote-1.18-rgdokH
> 
>  CPAN.pm: Going to build E/EC/ECOCODE/Finance-Quote-1.18.tar.gz
> 
> Warning: Prerequisite 'HTML::TableExtract => 0' for 'ECOCODE/Finance-Quote-1.18.tar.gz' failed when processing 'MSISK/HTML-TableExtract-2.11.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
> Warning: Prerequisite 'Crypt::SSLeay => 0' for 'ECOCODE/Finance-Quote-1.18.tar.gz' failed when processing 'NANIS/Crypt-SSLeay-0.64.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
>  ECOCODE/Finance-Quote-1.18.tar.gz
>  make -- NOT OK
> Running make test
>  Can't test without successful make
> Running make install
>  Make had returned bad status, install seems impossible
> 

Actually it did work: It's now downloading files from CPAN mirrors, which is progress.

It appears, though, that make can't build the necessary C libraries. Do you have Xcode and the command-line utilities installed?

Regards,
John Ralls




More information about the gnucash-user mailing list