Thanks Dave. Just reinstalled CommandLineTools/SDKs/MacOSX11.3.sdk, then followed your instructions, did sudo cpan -f -i JSON::Parse, all done now.
"Get Quote" came back now…… > David Reiser <[email protected]> 於 2021年5月1日 上午12:23 寫道: > > Apple is not including the Perl headers location in CPATH these days. I’ve > never figured out authoritatively how to avoid installing two versions of the > Command Line Tools, so if you follow the following recipe, you’ll likely have > one set inside XCode and one in /Library/Developer > > xcode-select —install > export > CPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/Perl/5.30/darwin-thread-multi-2level/CORE:$CPATH > > then run the cpan commands > -- > Dave Reiser > [email protected] <mailto:[email protected]> > > > > > >> On Apr 30, 2021, at 11:27 AM, Outlook <[email protected] >> <mailto:[email protected]>> wrote: >> >> sudo /applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check >> >> Reported >> >> Can't locate JSON/Parse.pm in @INC (you may need to install the JSON::Parse >> module) (@INC contains: /Library/Perl/5.30/darwin-thread-multi-2level >> /Library/Perl/5.30 /Network/Library/Perl/5.30/darwin-thread-multi-2level >> /Network/Library/Perl/5.30 >> /Library/Perl/Updates/5.30.2/darwin-thread-multi-2level >> /Library/Perl/Updates/5.30.2 >> /System/Library/Perl/5.30/darwin-thread-multi-2level >> /System/Library/Perl/5.30 >> /System/Library/Perl/Extras/5.30/darwin-thread-multi-2level >> /System/Library/Perl/Extras/5.30) at >> /Library/Perl/5.30/Finance/Quote/MorningstarAU.pm line 27. >> BEGIN failed--compilation aborted at >> /Library/Perl/5.30/Finance/Quote/MorningstarAU.pm line 27. >> Compilation failed in require at (eval 293) line 1. >> BEGIN failed--compilation aborted at (eval 293) line 1. >> at /applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check line 91. >> Can't locate object method "methods" via package >> "Finance::Quote::MorningstarAU" at /Library/Perl/5.30/Finance/Quote.pm line >> 120. >> >> >> sudo cpan -f -i JSON::Parse >> >> Reported errors as below >> >> Parse.xs:1:10: fatal error: 'EXTERN.h' file not found >> #include "EXTERN.h" >> ^~~~~~~~~~ >> 1 error generated. >> make: *** [Parse.o] Error 1 >> BKB/JSON-Parse-0.61.tar.gz >> /usr/bin/make -- NOT OK >> >> Stuck here…… >> >> >>> David Reiser <[email protected] <mailto:[email protected]>> 於 >>> 2021年4月28日 上午5:44 寫道: >>> >>> Done. >>> -- >>> Dave Reiser >>> [email protected] <mailto:[email protected]> >>> >>> >>> >>> >>> >>>> On Apr 27, 2021, at 12:50 AM, John Ralls <[email protected] >>>> <mailto:[email protected]>> wrote: >>>> >>>> Having seen David's earlier post I did >>>> sudo cpan install Test2 >>>> sudo /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-update >>>> >>>> which ran successfully, after which >>>> /applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check reported the >>>> usual list of sources. >>>> >>>> Anyone care to open an issue at >>>> https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffinance-quote%2Ffinance-quote&data=04%7C01%7C%7C16fbc1101b0746a59d3808d909c5a3e0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637551566725738401%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=9sDi6cFWDrmCFh%2Faky00FAXUg4R65Y9dnLalElAFzCk%3D&reserved=0 >>>> >>>> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffinance-quote%2Ffinance-quote&data=04%7C01%7C%7C49a331474b364cf1c53608d90bf458db%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637553966550659276%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3gq5OOubR%2FNtNdwCd4LRRlYbaVmoFgBCZmpKKXpeELk%3D&reserved=0> >>>> about them needing to add the dependency on Test2 to the CPAN metadata? >>>> >>>> Regards, >>>> John Ralls >>>> >>>> >>>> >>>>> On Apr 26, 2021, at 7:34 PM, David Reiser via gnucash-user >>>>> <[email protected] <mailto:[email protected]>> wrote: >>>>> >>>>> You will have to reinstall Date::Manip again too, but I think all the >>>>> error problems in reinstalling Finance::Quote are taken care of by >>>>> >>>>> upgrade Test 2 >>>>> >>>>> before >>>>> >>>>> install Finance::Quote >>>>> >>>>> inside CPAN (launched with “sudo CPAN”) >>>>> -- >>>>> Dave Reiser >>>>> [email protected] <mailto:[email protected]> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> On Apr 26, 2021, at 10:30 PM, Outlook <[email protected]> wrote: >>>>>> >>>>>> Just had the same issue after upgrading to MacOS 11.3. (with GNC V4.4) >>>>>> >>>>>> Message as below: >>>>>> >>>>>> Test Summary Report >>>>>> ------------------- >>>>>> t/00-use.t (Wstat: 512 Tests: 1 Failed: 0) >>>>>> Non-zero exit status: 2 >>>>>> Parse errors: Bad plan. You planned 19 tests but ran 1. >>>>>> t/currency_lookup.t (Wstat: 512 Tests: 0 Failed: 0) >>>>>> Non-zero exit status: 2 >>>>>> Parse errors: Bad plan. You planned 12 tests but ran 0. >>>>>> t/quote.t (Wstat: 512 Tests: 0 Failed: 0) >>>>>> Non-zero exit status: 2 >>>>>> Parse errors: Bad plan. You planned 28 tests but ran 0. >>>>>> Files=66, Tests=1, 6 wallclock secs ( 0.11 usr 0.08 sys + 5.09 cusr >>>>>> 0.98 csys = 6.26 CPU) >>>>>> Result: FAIL >>>>>> Failed 3/66 test programs. 0/1 subtests failed. >>>>>> make: *** [test_dynamic] Error 255 >>>>>> ECOCODE/Finance-Quote-1.49.tar.gz >>>>>> 2 dependencies missing (DateTime::Format::Strptime,JSON::Parse); >>>>>> additionally test harness failed >>>>>> /usr/bin/make test -- NOT OK >>>>>> //hint// to see the cpan-testers results for installing this module, try: >>>>>> reports ECOCODE/Finance-Quote-1.49.tar.gz >>>>>> >>>>>>> David Reiser via gnucash-user <[email protected] >>>>>>> <mailto:[email protected]>> 於 2021年4月27日 上午9:04 寫道: >>>>>>> >>>>>>> Found it. Had to >>>>>>> upgrade Test2 >>>>>>> >>>>>>> Perl is so much fun >>>>>>> >>>>>>> Dave >>>>>>> -- >>>>>>> Dave Reiser >>>>>>> [email protected] <mailto:[email protected]> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> On Apr 26, 2021, at 8:45 PM, David Reiser via gnucash-user >>>>>>>> <[email protected] <mailto:[email protected]>> wrote: >>>>>>>> >>>>>>>> Installing MacOS 11.3 seems to have blown away Finance-Quote. >>>>>>>> My efforts to get it installed via CPAN end with a bunch of errors >>>>>>>> /usr/bin/make test -- NOT OK >>>>>>>> >>>>>>>> It seems to keep thrashing along until it quits with >>>>>>>> >>>>>>>> ECOCODE/Finance-Quote-1.49.tar.gz : make_test NO one >>>>>>>> dependency not OK (DateTime::Format::Strptime); additionally test >>>>>>>> harness failed >>>>>>>> >>>>>>>> The DateTime::Format::Strptime installed already is too old (v 1.25), >>>>>>>> but it doesn’t upgrade either. >>>>>>>> >>>>>>>> Suggestions? >>>>>>>> >>>>>>>> Dave >>>>>>>> -- >>>>>>>> Dave Reiser >>>>>>>> [email protected] <mailto:[email protected]> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> gnucash-user mailing list >>>>>>>> [email protected] >>>>>>>> To update your subscription preferences or to unsubscribe: >>>>>>>> https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.gnucash.org%2Fmailman%2Flistinfo%2Fgnucash-user&data=04%7C01%7C%7C16fbc1101b0746a59d3808d909c5a3e0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637551566725738401%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wMG2PxDzj8ojji0PfhmGp%2FWE0%2BnObOeJRg4E%2BKbSZzs%3D&reserved=0 >>>>>>>> >>>>>>>> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.gnucash.org%2Fmailman%2Flistinfo%2Fgnucash-user&data=04%7C01%7C%7C16fbc1101b0746a59d3808d909c5a3e0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637551566725738401%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wMG2PxDzj8ojji0PfhmGp%2FWE0%2BnObOeJRg4E%2BKbSZzs%3D&reserved=0> >>>>>>>> If you are using Nabble or Gmane, please see >>>>>>>> https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.gnucash.org%2Fwiki%2FMailing_Lists&data=04%7C01%7C%7C16fbc1101b0746a59d3808d909c5a3e0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637551566725738401%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=LZSZoX1khlRqkvBnjn52KtPU62d6%2BzJn5%2BGnfiH0nFc%3D&reserved=0 >>>>>>>> >>>>>>>> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.gnucash.org%2Fwiki%2FMailing_Lists&data=04%7C01%7C%7C16fbc1101b0746a59d3808d909c5a3e0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637551566725738401%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=LZSZoX1khlRqkvBnjn52KtPU62d6%2BzJn5%2BGnfiH0nFc%3D&reserved=0> >>>>>>>> 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. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> gnucash-user mailing list >>>>>>> [email protected] <mailto:[email protected]> >>>>>>> To update your subscription preferences or to unsubscribe: >>>>>>> https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.gnucash.org%2Fmailman%2Flistinfo%2Fgnucash-user&data=04%7C01%7C%7C16fbc1101b0746a59d3808d909c5a3e0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637551566725738401%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wMG2PxDzj8ojji0PfhmGp%2FWE0%2BnObOeJRg4E%2BKbSZzs%3D&reserved=0 >>>>>>> >>>>>>> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.gnucash.org%2Fmailman%2Flistinfo%2Fgnucash-user&data=04%7C01%7C%7C16fbc1101b0746a59d3808d909c5a3e0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637551566725738401%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wMG2PxDzj8ojji0PfhmGp%2FWE0%2BnObOeJRg4E%2BKbSZzs%3D&reserved=0> >>>>>>> If you are using Nabble or Gmane, please see >>>>>>> https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.gnucash.org%2Fwiki%2FMailing_Lists&data=04%7C01%7C%7C16fbc1101b0746a59d3808d909c5a3e0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637551566725738401%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=LZSZoX1khlRqkvBnjn52KtPU62d6%2BzJn5%2BGnfiH0nFc%3D&reserved=0 >>>>>>> >>>>>>> <https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.gnucash.org%2Fwiki%2FMailing_Lists&data=04%7C01%7C%7C16fbc1101b0746a59d3808d909c5a3e0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637551566725748347%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dYv%2Bdvv53Kqb0hkzoQol4d1djJUhzBzi75OBj2WZaUM%3D&reserved=0> >>>>>>> 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. >>>>>> >>>>> >>>>> _______________________________________________ >>>>> gnucash-user mailing list >>>>> [email protected] >>>>> To update your subscription preferences or to unsubscribe: >>>>> https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.gnucash.org%2Fmailman%2Flistinfo%2Fgnucash-user&data=04%7C01%7C%7C16fbc1101b0746a59d3808d909c5a3e0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637551566725748347%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=BOj58l95rJ4TapU5URJfUARDp3Z%2B%2Fwapiv8DCFdLAXM%3D&reserved=0 >>>>> If you are using Nabble or Gmane, please see >>>>> https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.gnucash.org%2Fwiki%2FMailing_Lists&data=04%7C01%7C%7C16fbc1101b0746a59d3808d909c5a3e0%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637551566725748347%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dYv%2Bdvv53Kqb0hkzoQol4d1djJUhzBzi75OBj2WZaUM%3D&reserved=0 >>>>> 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. >>>> >>> >> > _______________________________________________ gnucash-user mailing list [email protected] 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.
