Hello John.

Yes, the file exists:

me@MacBook-Pro ~ % ls -la /Library/Perl/5.34/Test

total 336

drwxr-xr-x  10 root  wheel    320 Oct  6 20:43 .

drwxr-xr-x   8 root  wheel    256 Oct  6 20:44 ..

drwxr-xr-x   8 root  wheel    256 Oct  6 20:43 Builder

-r--r--r--   1 root  wheel  64973 Sep 14 19:32 Builder.pm

-r--r--r--   1 root  wheel  54359 Sep 14 19:32 More.pm

-r--r--r--   1 root  wheel   6479 Sep 14 19:32 Simple.pm

drwxr-xr-x   5 root  wheel    160 Oct  6 20:43 Tester

-r--r--r--   1 root  wheel  18323 Sep 14 19:32 Tester.pm

-r--r--r--   1 root  wheel  19346 Sep 14 19:32 Tutorial.pod

drwxr-xr-x   3 root  wheel     96 Oct  6 20:43 use

F.
https://www.instagram.com/boniforti_music
https://soundcloud.com/boniforti_music
https://bonny-j.bandcamp.com


Am Mo., 7. Okt. 2024 um 00:07 Uhr schrieb John Ralls <jra...@ceridwen.us>:

> Flavio,
>
> OK, good. Does /Library/Perl/5.34/Test/Simple.pm exist?
>
> Regards,
> John Ralls
>
>
> On Oct 6, 2024, at 11:45, Boniforti Flavio <bonifort...@gmail.com> wrote:
>
> Hi John.
>
> The output of "sudo cpan Test::Simple" is very long, the last part being:
>
> Appending installation info to
> /Library/Perl/Updates/5.34.1/darwin-thread-multi-2level/perllocal.pod
>   EXODIST/Test-Simple-1.302204.tar.gz
>   /usr/bin/make install  -- OK
>
> Do you need more output?
> F.
>
> https://www.instagram.com/boniforti_music
> https://soundcloud.com/boniforti_music
> https://bonny-j.bandcamp.com
>
>
> Am So., 6. Okt. 2024 um 18:37 Uhr schrieb John Ralls <jra...@ceridwen.us>:
>
>> Flavio,
>>
>> No, you don’t need to install perl from Homebrew. You’d also have to edit
>> GnuCash’s environment file to make it work and there’s no benefit. We were
>> chasing the Homebrew perl possibility trying to figure out if
>> Finance::Quote’s dependencies had gotten installed.
>>
>> Your list shows that everything got at least downloaded, so at least that
>> much worked. IIRC Test::Simple has no dependencies,, so try
>>   sudo cpan Test::Simple
>> If you followed Bruce’s instruction to chown ~/.cpan leave off sudo.
>>
>> What’s the output?
>>
>> Regards,
>> John Ralls
>>
>>
>> On Oct 6, 2024, at 03:39, Boniforti Flavio <bonifort...@gmail.com> wrote:
>>
>> Hi John.
>>
>> Yes, indeed I used gnc-fq-update.
>>
>> Do you suggest that I get Perl from Homebrew? If so, do I need to
>> uninstall the existing Perl installation (which apparently came with MacOS)?
>>
>> Here's the output of the ls command:
>>
>> bonny@Flavios-MacBook-Pro ~ % ls ~/.cpan/build
>> Archive-Any-Lite-0.11-0 HTTP-Daemon-6.16-0 Sereal-Decoder-5.004-0
>> Archive-Any-Lite-0.11-0.yml HTTP-Daemon-6.16-0.yml
>> Sereal-Decoder-5.004-0.yml
>> Array-Diff-0.09-0 JSON-Parse-0.62-0 Sereal-Encoder-5.004-0
>> Array-Diff-0.09-0.yml JSON-Parse-0.62-0.yml Sereal-Encoder-5.004-0.yml
>> B-Keywords-1.27-0 Lingua-EN-Inflect-1.905-0 Software-License-0.104006-0
>> B-Keywords-1.27-0.yml Lingua-EN-Inflect-1.905-0.yml
>> Software-License-0.104006-0.yml
>> Config-Tiny-2.30-0 List-SomeUtils-0.59-0 Spreadsheet-ParseExcel-0.66-0
>> Config-Tiny-2.30-0.yml List-SomeUtils-0.59-0.yml
>> Spreadsheet-ParseExcel-0.66-0.yml
>> Crypt-RC4-2.02-0 List-SomeUtils-XS-0.58-0 Spreadsheet-XLSX-0.18-0
>> Crypt-RC4-2.02-0.yml List-SomeUtils-XS-0.58-0.yml
>> Spreadsheet-XLSX-0.18-0.yml
>> Data-Binary-0.01-0 MCE-1.900-0 String-Format-1.18-0
>> Data-Binary-0.01-0.yml MCE-1.900-0.yml String-Format-1.18-0.yml
>> Data-Section-0.200008-0 Mock-Config-0.03-0 String-Util-1.35-0
>> Data-Section-0.200008-0.yml Mock-Config-0.03-0.yml String-Util-1.35-0.yml
>> Date-Manip-6.95-0 Module-CPANTS-Analyse-1.02-0 Test-FailWarnings-0.008-0
>> Date-Manip-6.95-0.yml Module-CPANTS-Analyse-1.02-0.yml
>> Test-FailWarnings-0.008-0.yml
>> Date-Range-1.41-0 Module-CPANfile-1.1004-0 Test-File-1.993-0
>> Date-Range-1.41-0.yml Module-CPANfile-1.1004-0.yml Test-File-1.993-0.yml
>> Date-Simple-3.03-0 Mozilla-CA-20240924-0 Test-Inter-1.11-0
>> Date-Simple-3.03-0.yml Mozilla-CA-20240924-0.yml Test-Inter-1.11-0.yml
>> DateTime-Format-Builder-0.83-0 Mozilla-PublicSuffix-v1.0.7-0
>> Test-Kwalitee-1.28-0
>> DateTime-Format-Builder-0.83-0.yml Mozilla-PublicSuffix-v1.0.7-0.yml
>> Test-Kwalitee-1.28-0.yml
>> DateTime-Format-ISO8601-0.16-0 OLE-Storage_Lite-0.22-0
>> Test-LeakTrace-0.17-0
>> DateTime-Format-ISO8601-0.16-0.yml OLE-Storage_Lite-0.22-0.yml
>> Test-LeakTrace-0.17-0.yml
>> DateTime-Format-Strptime-1.79-0 PPI-1.279-0 Test-LongString-0.17-0
>> DateTime-Format-Strptime-1.79-0.yml PPI-1.279-0.yml
>> Test-LongString-0.17-0.yml
>> DateTime-Locale-1.43-0 PPIx-QuoteLike-0.023-0 Test-More-UTF8-0.05-0
>> DateTime-Locale-1.43-0.yml PPIx-QuoteLike-0.023-0.yml
>> Test-More-UTF8-0.05-0.yml
>> Devel-CheckLib-1.16-0 PPIx-Regexp-0.088-0 Test-NoWarnings-1.06-0
>> Devel-CheckLib-1.16-0.yml PPIx-Regexp-0.088-0.yml
>> Test-NoWarnings-1.06-0.yml
>> Devel-Symdump-2.18-0 PPIx-Utils-0.003-0 Test-Perl-Critic-1.04-0
>> Devel-Symdump-2.18-0.yml PPIx-Utils-0.003-0.yml
>> Test-Perl-Critic-1.04-0.yml
>> Digest-Perl-MD5-1.9-0 Parse-Distname-0.05-0 Test-Pod-Coverage-1.10-0
>> Digest-Perl-MD5-1.9-0.yml Parse-Distname-0.05-0.yml
>> Test-Pod-Coverage-1.10-0.yml
>> ExtUtils-MakeMaker-CPANfile-0.09-0 Perl-Critic-1.152-0
>> Test-Simple-1.302204-0
>> ExtUtils-MakeMaker-CPANfile-0.09-0.yml Perl-Critic-1.152-0.yml
>> Test-Simple-1.302204-0.yml
>> File-Find-Object-0.3.8-0 Perl-PrereqScanner-NotQuiteLite-0.9917-0
>> Test-UseAllModules-0.17-0
>> File-Find-Object-0.3.8-0.yml Perl-PrereqScanner-NotQuiteLite-0.9917-0.yml
>> Test-UseAllModules-0.17-0.yml
>> File-TreeCreate-0.0.1-0 Perl-Tidy-20240903-0 Text-Template-1.61-0
>> File-TreeCreate-0.0.1-0.yml Perl-Tidy-20240903-0.yml
>> Text-Template-1.61-0.yml
>> Finance-Quote-1.63-0 Pod-Coverage-0.23-0 Web-Scraper-0.38-0
>> Finance-Quote-1.63-0.yml Pod-Coverage-0.23-0.yml Web-Scraper-0.38-0.yml
>> HTML-Selector-XPath-0.28-0 Pod-Parser-1.67-0 XML-XPathEngine-0.14-0
>> HTML-Selector-XPath-0.28-0.yml Pod-Parser-1.67-0.yml
>> XML-XPathEngine-0.14-0.yml
>> HTML-TableExtract-2.15-0 Pod-Spell-1.26-0 libwww-perl-6.77-0
>> HTML-TableExtract-2.15-0.yml Pod-Spell-1.26-0.yml libwww-perl-6.77-0.yml
>> HTML-TreeBuilder-XPath-0.14-0 Readonly-2.05-0 local-lib-2.000029-0
>> HTML-TreeBuilder-XPath-0.14-0.yml Readonly-2.05-0.yml
>> local-lib-2.000029-0.yml
>> HTTP-CookieJar-0.014-0 Regexp-Trie-0.02-0
>> HTTP-CookieJar-0.014-0.yml Regexp-Trie-0.02-0.yml
>>
>> Thanks,
>> F.
>>
>> https://www.instagram.com/boniforti_music
>> https://soundcloud.com/boniforti_music
>> https://bonny-j.bandcamp.com
>>
>>
>> Am So., 6. Okt. 2024 um 00:55 Uhr schrieb John Ralls <jra...@ceridwen.us
>> >:
>>
>>> Flavio,
>>>
>>> Ah, you followed the instructions on
>>> https://www.gnucash.org/docs/v5/C/gnucash-manual/fq-install.html, so
>>> you used gnc-fq-update.
>>>
>>> Perl does come with macOS, but it’s not the latest release and some
>>> people use Homebrew to get it.
>>>
>>> The Quote.pms you’ve got aren’t Finance::Quote, so the attempt to
>>> install it with gnc-fq-update failed.  You ran sudo gnc-fq-update and that
>>> created a ~/.cpan owned by root, which is why attempting to run cpan
>>> Finance::Quote bailed with the permission error.
>>>
>>> What;s does
>>>   ls ~/.cpan/build
>>> report?
>>>
>>> Regards,
>>> John Ralls
>>>
>>>
>>>
>>> On Oct 5, 2024, at 14:32, Boniforti Flavio <bonifort...@gmail.com>
>>> wrote:
>>>
>>> Hi John.
>>> In fact I followed the instructions on that page, but nothing tells me
>>> how to install JSON::Parse.
>>> I verified that I had Perl installed and then I proceeded to install
>>> Finance::Quote as explained there in the Mac paragraph.
>>>
>>> I ran the find command you suggested, except for the fact that I had to
>>> remove "-x" as it wouldn't work with MacOS Sonoma. Anyway, these are the
>>> places where Quote.pm has been found:
>>>
>>> /System/Library/Perl/Extras/5.30/Sub/Quote.pm
>>> /System/Library/Perl/Extras/5.30/PPI/Token/Quote.pm
>>> /System/Library/Perl/Extras/5.34/Sub/Quote.pm
>>> /System/Library/Perl/Extras/5.34/PPI/Token/Quote.pm
>>>
>>> The output of "which perl" reads "/usr/bin/perl", thus I think that I
>>> never installed Perl from Homebrew (I think Perl comes with the OS already).
>>>
>>> F.
>>>
>>> https://www.instagram.com/boniforti_music
>>> https://soundcloud.com/boniforti_music
>>> https://bonny-j.bandcamp.com
>>>
>>>
>>> Am Sa., 5. Okt. 2024 um 19:18 Uhr schrieb John Ralls <jra...@ceridwen.us
>>> >:
>>>
>>>> Flavio,
>>>>
>>>> That page says the you need perl, JSON::Parse, and Finance::Quote, but
>>>> it doesn’t say anything about how to get them. What did you do?
>>>>
>>>> At this point I think it’s worthwhile to see if you installed
>>>> Finance::Quote at all. Run
>>>>   find / -x -name Quote.pm
>>>> It will take a while, it’s going to search all of your SSD.
>>>>
>>>> If you’d used Homebrew to install perl you’ll find it in
>>>> /opt/homebrew/bin. If you’ve run the Homebrew installer it will have
>>>> modified your shell startup to place that first in $PATH so that
>>>>   which perl
>>>>  would return /opt/homebrew/bin/perl` instead of /usr/bin/perl.
>>>>
>>>> Regards,
>>>> John Ralls
>>>>
>>>>
>>>> On Oct 5, 2024, at 01:27, Boniforti Flavio <bonifort...@gmail.com>
>>>> wrote:
>>>>
>>>> Hi John.
>>>> I followed the instructions at:
>>>> https://www.gnucash.org/docs/v5/C/gnucash-manual/finance-quote.html
>>>>
>>>> I also found this:
>>>>
>>>> me@FMacBook-Pro ~ % ls -la /Library/Perl
>>>> total 0
>>>> drwxr-xr-x   4 root  wheel   128 Aug  4 12:31 .
>>>> drwxr-xr-x  69 root  wheel  2208 Aug 18 16:38 ..
>>>> drwxr-xr-x   3 root  wheel    96 Aug  4 12:31 5.30
>>>> drwxr-xr-x   3 root  wheel    96 Aug  4 12:31 5.34
>>>>
>>>> But both 5.30 and 5.34 directories are almost empty (at least there's
>>>> no Finance folder in both of them).
>>>> F.
>>>>
>>>> https://www.instagram.com/boniforti_music
>>>> https://soundcloud.com/boniforti_music
>>>> https://bonny-j.bandcamp.com
>>>>
>>>>
>>>> Am Fr., 4. Okt. 2024 um 22:17 Uhr schrieb John Ralls <
>>>> jra...@ceridwen.us>:
>>>>
>>>>> Flavio,
>>>>>
>>>>> The almost empty /Library/Perl/5.34/ means that you didn't install
>>>>> Finance::Quote there. Please link the instructions that you used.
>>>>>
>>>>> Regards,
>>>>> John Ralls
>>>>>
>>>>>
>>>>> > On Oct 4, 2024, at 11:18 AM, Boniforti Flavio <bonifort...@gmail.com>
>>>>> wrote:
>>>>> >
>>>>> > Hi John.
>>>>> > This is the output of the "file" command:
>>>>> > /Applications/Gnucash.app/Contents/MacOS/Gnucash: Mach-O 64-bit
>>>>> executable arm64
>>>>> >
>>>>> > And these the contents of the Perl library path - I think there's
>>>>> something missing:
>>>>> >
>>>>> > me@MacBook-Pro ~ % ls -la /Library/Perl/5.34
>>>>> > total 0
>>>>> > drwxr-xr-x  3 root  wheel   96 Aug  4 12:31 .
>>>>> > drwxr-xr-x  4 root  wheel  128 Aug  4 12:31 ..
>>>>> > -rw-r--r--  1 root  wheel   33 Aug  4 12:31 AppendToPath
>>>>> >
>>>>> > What do you suggest next?
>>>>> > Thanks,
>>>>> > F.
>>>>> >
>>>>> > https://www.instagram.com/boniforti_music
>>>>> > https://soundcloud.com/boniforti_music
>>>>> > https://bonny-j.bandcamp.com
>>>>> >
>>>>> >
>>>>> > Am Do., 3. Okt. 2024 um 21:22 Uhr schrieb John Ralls <
>>>>> jra...@ceridwen.us>:
>>>>> > Flavio,
>>>>> >
>>>>> > I bet HomeBrew didn’t pick up the Apple Silicon build, but to make
>>>>> sure you can run
>>>>> >    file /Applications/Gnucash.app/Contents/MacOS/Gnucash
>>>>> > Which will return something like
>>>>> >   /Applications/Gnucash.app/Contents/MacOS/Gnucash: Mach-O 64-bit
>>>>> executable x86_64
>>>>> > For an Intel build; the end will be arm64e for an Apple Silicon one.
>>>>> If it’s an Intel build the simpler option is to get the Apple Silicon 
>>>>> build
>>>>> from https;//www.gnucash.org, but if you’d rather not you’ll have to
>>>>> reinstall Finance::Quote, see
>>>>> https://wiki.gnucash.org/wiki/Online_Quotes#Installing_Finance::Quote_on_macOS_from_a_Terminal_prompt
>>>>> .
>>>>> >
>>>>> > That doesn’t explain why perldoc can’t find Finance::Quote though.
>>>>> Does /Library/Perl/5.34/Finance/Quote.pm exist?
>>>>> >
>>>>> > Regards,
>>>>> > John Ralls
>>>>> >
>>>>> >
>>>>> >> On Oct 2, 2024, at 21:45, Boniforti Flavio <bonifort...@gmail.com>
>>>>> wrote:
>>>>> >>
>>>>> >> Hi John.
>>>>> >> I installed GnuCash with HomeBrew. I did not manually install Perl
>>>>> - it was already there:
>>>>> >>
>>>>> >> me@MacBook-Pro ~ % perl -v
>>>>> >>
>>>>> >> This is perl 5, version 34, subversion 1 (v5.34.1) built for
>>>>> darwin-thread-multi-2level
>>>>> >> (with 2 registered patches, see perl -V for more detail)
>>>>> >>
>>>>> >> Copyright 1987-2022, Larry Wall
>>>>> >>
>>>>> >> Perl may be copied only under the terms of either the Artistic
>>>>> License or the
>>>>> >> GNU General Public License, which may be found in the Perl 5 source
>>>>> kit.
>>>>> >>
>>>>> >> Complete documentation for Perl, including FAQ lists, should be
>>>>> found on
>>>>> >> this system using "man perl" or "perldoc perl".  If you have access
>>>>> to the
>>>>> >> Internet, point your browser at http://www.perl.org/, the Perl
>>>>> Home Page.
>>>>> >>
>>>>> >> My MBP is an M1.
>>>>> >>
>>>>> >> Thanks for helping,
>>>>> >> F.
>>>>> >>
>>>>> >> https://www.instagram.com/boniforti_music
>>>>> >> https://soundcloud.com/boniforti_music
>>>>> >> https://bonny-j.bandcamp.com
>>>>> >>
>>>>> >>
>>>>> >> Am Do., 3. Okt. 2024 um 01:13 Uhr schrieb John Ralls <
>>>>> jra...@ceridwen.us>:
>>>>> >> Flavio,
>>>>> >>
>>>>> >> What did you actually do? Do you by any chance have a perl
>>>>> installed that isn’t from Apple, perhaps HomeBrew or MacPorts? Is your MBP
>>>>> an Intel or Apple Silicon one and did you install the GnuCash that matches
>>>>> the architecture?
>>>>> >>
>>>>> >> Regards,
>>>>> >> John Ralls
>>>>> >>
>>>>> >>
>>>>> >> > On Oct 2, 2024, at 12:03, Boniforti Flavio <bonifort...@gmail.com>
>>>>> wrote:
>>>>> >> >
>>>>> >> > Hi all.
>>>>> >> >
>>>>> >> > On MacOS Sonoma 14.6.1 I've just followed the instructions from
>>>>> the GnuCash
>>>>> >> > documentation to install the Finance::Quote module.
>>>>> >> > After finishing without errors, I tried to use it but it won't
>>>>> initialize -
>>>>> >> > see here:
>>>>> >> >
>>>>> >> > me@MacBook-Pro ~ %
>>>>> >> >
>>>>> /System/Volumes/Data/Applications/Gnucash.app/Contents/MacOS/gnucash-cli 
>>>>> -Q
>>>>> >> > info
>>>>> >> >
>>>>> >> > Application Path
>>>>> >> >
>>>>> /System/Volumes/Data/Applications/Gnucash.app/Contents/MacOS/gnucash-cli
>>>>> >> >
>>>>> >> > Failed to initialize Finance::Quote: missing_modules
>>>>> Finance::Quote
>>>>> >> > JSON::Parse
>>>>> >> >
>>>>> >> >
>>>>> >> > Even Perl doesn't know about its existence:
>>>>> >> >
>>>>> >> > me@MacBook-Pro ~ % perldoc Finance::Quote
>>>>> >> >
>>>>> >> > No documentation found for "Finance::Quote".
>>>>> >> >
>>>>> >> > Is anybody able to help me understand what's gone wrong and how
>>>>> to fix it?
>>>>> >> >
>>>>> >> > Thanks,
>>>>> >> > F.
>>>>> >> >
>>>>> >> > https://www.instagram.com/boniforti_music
>>>>> >> > https://soundcloud.com/boniforti_music
>>>>> >> > https://bonny-j.bandcamp.com
>>>>> >> > _______________________________________________
>>>>> >> > gnucash-user mailing list
>>>>> >> > gnucash-user@gnucash.org
>>>>> >> > To update your subscription preferences or to unsubscribe:
>>>>> >> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>>> >> > -----
>>>>> >> > 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
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to