On Fri, Apr 18, 2025 at 11:15 AM David Dyck <david.d...@gmail.com> wrote:

> glad you found the solution
> I very much want perl working well on cygwin
> ...
>
> ( I guess I had perl_pods package installed already )
>
> Yes.
     Soren (somia...@gmail.com) wrote earlier:

> ...
>> > Compilation failed in require.
>> > BEGIN failed--compilation aborted.
>>
>> I'm following up on my own message here. I've been discussing it with
>> monks over at perlmonks (https://perlmonks.org) and someone there
>> (monk named choroba) knew what was wrong; the file
>> /usr/share/perl5/5.40/pods/perldiag.pod is, on Cygwin, not installed
>> automatically with the base perl executable, library and core modules.
>> It's in, rather, the optional package <<perl_pods>>.  So I installed
>> that package and the problem went away.
>>
>> Ref: https://perlmonks.org/?node_id=11164726
>>
>>     With regards,
>>         Soren Andersen
>>
>
Yes, it's the absence of that .POD file that causes the failure in
compilation. diagnostics has a very not-ordinary (or "weird")
implementation that uses a .POD file as part of the code. The author of the
modules referred to has since released a CPAN update to Array::Contains
that doesn't use diagnostics anymore, because of this error report; it
wasn't necessary to the full functionality of the module anyway.

> I very much want perl working well on cygwin

You have just made a friend, David. I am very happy to hear that you feel
that way. I have both the straight Win (Strawberry Perl) and CygwinPerl
installed, and I find I almost never use the "native" perl. I enjoy using
CygwinPerl much more.

    Ciao,
        Soren Andersen

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to