> On Oct 5, 2024, at 20:47, Bruce Schuck <bsch...@asgard-systems.com> wrote:
> 
> On 10/5/24 8:07 PM, 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.
> 
> If it's the only way you use it, not a problem. But I'm often switching 
> between local::lib and sudo installs with PERL5LIB getting changed.
> 
>> I just tested to make sure it worked without sudo (after chowning  ~/.cpan), 
>> and it didn’t; it wouldn’t have worked with sudo either:
> 
>> make: *** [pure_perl_install] Error 1
>>   MAREKR/Pod-Parser-1.67.tar.gz
>>   sudo /usr/bin/make install  -- NOT OK
>>  Why is Pod-Parser trying to install something in /usr/bin instead of 
>> /usr/local/bin?
> 
> That's an odd one. It could be something in Pod-Parser's makefile. And if I 
> recall, OSX won't let you install under /usr/bin even with root privs.

You recall correctly. What’s different is that Pod-Parser’s Makefile says
INSTALLDIRS = perl
And everybody else’s says
INSTALLDIRS = site.

This seems to be either an Apple or a Perl problem. On macOS 12 with Perl 5.30:
$ Manjusri:/Users/john> ls /System/Library/Perl/5.30/Pod/
Checker.pm              ParseLink.pm            Simple/
Escapes.pm              ParseUtils.pm           Simple.pm
Find.pm                 Parser.pm               Simple.pod
Functions.pm            Perldoc/                Text/
Html.pm                 Perldoc.pm              Text.pm
InputObjects.pm         PlainText.pm            Usage.pm
Man.pm                  Select.pm

But on macOS 15 with 5.34:
$ Hector:/Users/john> ls /System/Library/Perl/5.34/Pod/
Checker.pm      Html.pm         Perldoc/        Simple.pm       Text.pm
Escapes.pm      Man.pm          Perldoc.pm      Simple.pod      Usage.pm
Functions.pm    ParseLink.pm    Simple/         Text/

> 
>> Probably not Flavio’s problem (at least not yet), he doesn’t seem to have 
>> gotten anything installed.
> 
> I really want to find out what change in F::Q a few years back made the 
> amount of dependencies explode.

Well, in the case of Pod::Find, it seems to be required only by the 
pod-coverage test. That doesn’t strike me as useful for anyone but you, so 
maybe you could mark it as an author test. The only way I know of to answer the 
question more generally is to slog through git history. It surely would be nice 
to cut back on the dependencies, it can take quite a while to install if you 
have a slow Internet connection.

Regards,
John Ralls

_______________________________________________
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