in reply to XML::Atom on MacOS Catalina

Take a look at this issue, that patch and the workaround.

Update: s/loom/look/

Replies are listed 'Best First'.
Re^2: XML::Atom on MacOS Catalina
by astoller (Novice) on Dec 16, 2020 at 17:16 UTC

    As near as I can tell, every time I try to build the module with cpan it creates a new directory for the code

    ~ > find .cpan -type f -name "31-external-entities-libxml.t" -ls | awk '{print $8" "$9" "$10" "$11}'
    May 12 2017 .cpan/build/XML-Atom-0.42-4/t/31-external-entities-libxml.t
    May 12 2017 .cpan/build/XML-Atom-0.42-3/t/31-external-entities-libxml.t
    May 12 2017 .cpan/build/XML-Atom-0.42-2/t/31-external-entities-libxml.t
    May 12 2017 .cpan/build/XML-Atom-0.42-5/t/31-external-entities-libxml.t
    May 12 2017 .cpan/build/XML-Atom-0.42-0/t/31-external-entities-libxml.t
    May 12 2017 .cpan/build/XML-Atom-0.42-6/t/31-external-entities-libxml.t
    May 12 2017 .cpan/build/XML-Atom-0.42-1/t/31-external-entities-libxml.t

    So - what's the process for patching the file and building it? Do I just run make install in the .cpan/build/XML-Atom-0.42-4 directory or is there something more involved that I need to do?

      Go into one of those directories, change that one line as mentioned in the issue.

      perl Makefile.PL make make test make install

        Slight modification to instructions:
        1. Make code change to XML-Atom-0.42-6/t/31-external-entities-libxml.t(from coolo here)
        2. Build code:
          cd ~/.cpan/build/XML-Atom-0.42-6 perl Build.PL setenv PERL5LIB ".:$PERL5LIB" ./Build ./Build test ./Build install

          Note: the '-6' on the path above is environment-specific as cpan creates a new directory every time you try to build the module with cpan

        Now I need to see how the rest of my build attempt goes...

        Thanks!!!