[GNC] Finance::Quote failed to initialize

John Ralls jralls at ceridwen.us
Sat Oct 5 20:39:01 EDT 2024


Bruce,

As I explained in my previous, cpan needs to write to /Library/Perl/3.40/, a system directory, so it need to be run with sudo. Of course doing that causes the ownership of ~/.cpan to be root.

Regards,
John Ralls


> On Oct 5, 2024, at 16:27, Bruce Schuck <bschuck at asgard-systems.com> wrote:
> 
> On 10/5/24 2:35 PM, Boniforti Flavio wrote:
> 
> Ah!
> 
> These lines are a clue.
> 
>> Warning: You are not allowed to write into directory "/Users/me/.cpan/ sources/authors".
> 
>> I'll continue, but if you encounter problems, they may be due
> 
>> to insufficient permissions.
> 
> It appears that the directory permissions for your ~/.cpan directory tree are not correct. You need to fix that, then try running "cpan Finance::Quote" again.
> 
> sudo chown -R me /Users/me/.cpan
> 
> Of course change "me" to your actual username. To be thorough,
> 
> sudo chown -R me:group /Users/me/.cpan
> 
> Where "group" is your primary group. If you don't know this, not to worry and skip this.
> 
> After running "chown", execute "cpan Finance::Quote" again. If you have CPAN-minus installed you can also try "cpanm Finance::Quote".
> 
> Bruce S.



More information about the gnucash-user mailing list