[GNC] Finance::Quote on Mac M1
Geoff
cleanoutmyshed at gmail.com
Wed Aug 4 05:39:55 EDT 2021
Yes, I don't like doing forced installations either, but this particular
module isn't very important in the overall Finance::Quote scheme of events.
Here are two suggestions.
(1) Hack. I'm not familiar with MAC directory structures, but I had a
look at the particular test that is failing, and I reckon that if you
create an empty file here it might just trick it into passing:
/System/Library/Perl/5.30/darwin-thread-multi-2level/CORE/keywords.h
(2) Manual install of B::Keywords without using CPAN:
(a) Download B-Keywords-1.22.tar.gz from here:
https://metacpan.org/pod/B::Keywords
(b) Unzip and untar it to a temp directory.
(c) From the command line in that directory:
perl Makefile.pl
gmake
gmake test
gmake install
[Excuse my MAC ignorance - hopefully you have gmake or an equivalent
make command that will do the job.]
If either of those work, go back to CPAN and try to install
Finance::Quote normally.
Good luck.
Geoff
=====
On 4/08/2021 6:38 pm, Peter West wrote:
> It sill reports the same failure, even though I run
> sudo cpan -f -i B::Keywords
>
>
> —
> Peter West
> pbw at ehealth.id.au <mailto:pbw at ehealth.id.au>
> But immediately Jesus spoke to them, saying, “Take heart; it is I. Do
> not be afraid.”
>
>> On 4 Aug 2021, at 5:53 pm, Geoff <cleanoutmyshed at gmail.com
>> <mailto:cleanoutmyshed at gmail.com>> wrote:
>>
>> Try and force the installation of B::Keywords:
>>
>> cpan> force install B::Keywords
>>
>> From:
>> https://www.thegeekstuff.com/2013/06/cpan-force-install-perl-module/
>> <https://www.thegeekstuff.com/2013/06/cpan-force-install-perl-module/>
>>
>> If that works, try to reinstall Finance::Quote normally.
>>
>> Fingers crossed.
>>
>> Geoff
>> =====
>>
>> On 4/08/2021 5:24 pm, Peter West wrote:
>>> Here’s the output.
>>> Rosie:.30/darwin-thread-multi-2level 16:53:50$ sudo cpan -i
>>> Finance::Quote
>>> Password:
>>> Loading internal logger. Log::Log4perl recommended for better logging
>>> CPAN::SQLite not installed, trying to work without
>>> Reading '/Users/pbw/.cpan/sources/authors/01mailrc.txt.gz'
>>> ............................................................................DONE
>>> Reading '/Users/pbw/.cpan/sources/modules/02packages.details.txt.gz'
>>> Database was generated on Wed, 04 Aug 2021 04:17:03 GMT
>>> .............
>>> New CPAN.pm version (v2.28) available.
>>> [Currently running version is v2.22]
>>> 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
>>> Reading '/Users/pbw/.cpan/sources/modules/03modlist.data.gz'
>>> DONE
>>> Running install for module 'Finance::Quote'
>>> CPAN: Module::Signature security checks disabled because
>>> Module::Signature
>>> not installed. Please consider installing the Module::Signature
>>> module.
>>> You may also need to be able to connect over the Internet to the public
>>> key servers like pool.sks-keyservers.net
>>> <http://pool.sks-keyservers.net> or pgp.mit.edu <http://pgp.mit.edu>.
>>> Checksum for
>>> /Users/pbw/.cpan/sources/authors/id/B/BP/BPSCHUCK/Finance-Quote-1.51.tar.gz
>>> ok
>>> Configuring B/BP/BPSCHUCK/Finance-Quote-1.51.tar.gz with Makefile.PL
>>> CPAN::Reporter not installed. No reports will be sent.
>>> Checking if your kit is complete...
>>> Looks good
>>> Warning: prerequisite Test::Perl::Critic 0 not found.
>>> Generating a Unix-style Makefile
>>> Writing Makefile for Finance::Quote
>>> Writing MYMETA.yml and MYMETA.json
>>> BPSCHUCK/Finance-Quote-1.51.tar.gz
>>> /usr/bin/perl Makefile.PL -- OK
>>> Running make for B/BP/BPSCHUCK/Finance-Quote-1.51.tar.gz
>>> ---- Unsatisfied dependencies detected during ----
>>> ---- BPSCHUCK/Finance-Quote-1.51.tar.gz ----
>>> Test::Perl::Critic [build_requires]
>>> Running install for module 'Test::Perl::Critic'
>>> Checksum for
>>> /Users/pbw/.cpan/sources/authors/id/P/PE/PETDANCE/Test-Perl-Critic-1.04.tar.gz
>>> ok
>>> Configuring P/PE/PETDANCE/Test-Perl-Critic-1.04.tar.gz with Build.PL
>>> Checking prerequisites...
>>> requires:
>>> ! Perl::Critic is not installed
>>> ! Perl::Critic::Utils is not installed
>>> ! Perl::Critic::Violation is not installed
>>> ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the
>>> versions
>>> of the modules indicated above before proceeding with this installation
>>> Created MYMETA.yml and MYMETA.json
>>> Creating new 'Build' script for 'Test-Perl-Critic' version '1.04'
>>> PETDANCE/Test-Perl-Critic-1.04.tar.gz
>>> /usr/bin/perl Build.PL -- OK
>>> Running Build for P/PE/PETDANCE/Test-Perl-Critic-1.04.tar.gz
>>> ---- Unsatisfied dependencies detected during ----
>>> ---- PETDANCE/Test-Perl-Critic-1.04.tar.gz ----
>>> Perl::Critic [requires]
>>> Perl::Critic::Utils [requires]
>>> Perl::Critic::Violation [requires]
>>> Running install for module 'Perl::Critic'
>>> Checksum for
>>> /Users/pbw/.cpan/sources/authors/id/P/PE/PETDANCE/Perl-Critic-1.140.tar.gz
>>> ok
>>> Configuring P/PE/PETDANCE/Perl-Critic-1.140.tar.gz with Build.PL
>>> Checking prerequisites...
>>> requires:
>>> ! B::Keywords is not installed
>>> ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the
>>> versions
>>> of the modules indicated above before proceeding with this installation
>>> Created MYMETA.yml and MYMETA.json
>>> Creating new 'Build' script for 'Perl-Critic' version '1.140'
>>> PETDANCE/Perl-Critic-1.140.tar.gz
>>> /usr/bin/perl Build.PL -- OK
>>> Running Build for P/PE/PETDANCE/Perl-Critic-1.140.tar.gz
>>> ---- Unsatisfied dependencies detected during ----
>>> ---- PETDANCE/Perl-Critic-1.140.tar.gz ----
>>> B::Keywords [requires]
>>> Running install for module 'B::Keywords'
>>> Checksum for
>>> /Users/pbw/.cpan/sources/authors/id/R/RU/RURBAN/B-Keywords-1.22.tar.gz ok
>>> Configuring R/RU/RURBAN/B-Keywords-1.22.tar.gz with Makefile.PL
>>> Checking if your kit is complete...
>>> Looks good
>>> Generating a Unix-style Makefile
>>> Writing Makefile for B::Keywords
>>> Writing MYMETA.yml and MYMETA.json
>>> RURBAN/B-Keywords-1.22.tar.gz
>>> /usr/bin/perl Makefile.PL -- OK
>>> Running make for R/RU/RURBAN/B-Keywords-1.22.tar.gz
>>> cp lib/B/Keywords.pm blib/lib/B/Keywords.pm
>>> Manifying 1 pod document
>>> RURBAN/B-Keywords-1.22.tar.gz
>>> /usr/bin/make -- OK
>>> Running make test for RURBAN/B-Keywords-1.22.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/10basic.t ................. ok
>>> t/11keywords.t .............. Can't open
>>> /System/Library/Perl/5.30/darwin-thread-multi-2level/CORE/keywords.h:
>>> No such file or directory at t/11keywords.t line 25.
>>> t/11keywords.t .............. skipped: (no reason given)
>>> t/export.t .................. ok
>>> t/z_kwalitee.t .............. skipped: This test is only run for the
>>> module author
>>> t/z_meta.t .................. skipped: This test is only run for the
>>> module author
>>> t/z_perl_minimum_version.t .. skipped: Author tests not required for
>>> installation
>>> t/z_pod-coverage.t .......... skipped: This test is only run for the
>>> module author
>>> t/z_pod.t ................... ok
>>> Test Summary Report
>>> -------------------
>>> t/11keywords.t (Wstat: 512 Tests: 0 Failed: 0)
>>> Non-zero exit status: 2
>>> Files=8, Tests=15, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.18
>>> cusr 0.04 csys = 0.25 CPU)
>>> Result: FAIL
>>> Failed 1/8 test programs. 0/15 subtests failed.
>>> make: *** [test_dynamic] Error 255
>>> RURBAN/B-Keywords-1.22.tar.gz
>>> /usr/bin/make test -- NOT OK
>>> //hint// to see the cpan-testers results for installing this module, try:
>>> reports RURBAN/B-Keywords-1.22.tar.gz
>>> Stopping: 'install' failed for 'B::Keywords'.
>>>> On 4 Aug 2021, at 5:06 pm, Geoff <cleanoutmyshed at gmail.com
>>>> <mailto:cleanoutmyshed at gmail.com>> wrote:
>>>>
>>>> Hi Peter
>>>>
>>>> How about sending through some diagnostics please? Screenshot or
>>>> error log.
>>>>
>>>> Thanks
>>>>
>>>> Geoff
>>>> =====
>>>>
>>>> On 4/08/2021 5:03 pm, Peter West wrote:
>>>>> I have been trying to get Finance::Quote installed on my Mac M1,
>>>>> without success. I have tried installing using
>>>>> cpan -i Date::Manip
>>>>> cpan -i Finance::Quote
>>>>> Installing Date::Manip works, but Finance::Quote fails installing
>>>>> B::Keywords.
>>>>> Any ideas?
>>>>> —
>>>>> Peter West
>>>>> pbw at ehealth.id.au <mailto:pbw at ehealth.id.au>
>>>>> But immediately Jesus spoke to them, saying, “Take heart; it is I.
>>>>> Do not be afraid.”
>>>>> _______________________________________________
>>>>> gnucash-user mailing list
>>>>> gnucash-user at gnucash.org
>>>>> To update your subscription preferences or to unsubscribe:
>>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>>> If you are using Nabble or Gmane, please see
>>>>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>>>> -----
>>>>> 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