Bruce,

That’s OK, and I agree that it’s better to use sudo only for the installation. 
I’ve adjusted the wiki page accordingly and I’ll fix the manual later.

Regards,
John Ralls


> On Oct 6, 2024, at 11:01, Bruce Schuck <bsch...@asgard-systems.com> wrote:
> 
> On 10/5/24 20:07, John Ralls wrote:
> 
>> Interesting, I didn’t know that MyCpan.pm defaulted make install to
>> run under sudo. FWIW I’ve been running sudo cpan on macOS for almost
>> 20 years with no ill effects.
> 
> Frack, I am sorry, my mistake and I have to eat crow. Seems when cpan first 
> sets up MyConfig.pm if there isn't any, the default is "local::lib" and not 
> "sudo". When I set up a new environment I barely pay attention to the 
> defaults since I typically set up two MyConfig.pm files. One with sudo and 
> one with "local::lib". I will have sometimes have two or three different 
> PERL5LIB settings and create short source scripts for each that set a bunch 
> of CPAN related Perl environment variables and symlink MyConfig.pm from a 
> MyConfig.pm.local.
> 
> Still, running "sudo cpan" from a user account is not the "Perl" way and even 
> before I started contributing to F::Q, I used "cpan" to install F::Q (with 
> MyConfig.pm set to use sudo for installs) and not the GnuCash supplied tool.
> 
> Bruce S

_______________________________________________
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