Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: XML::Atom on MacOS Catalina

by astoller (Novice)
on Dec 16, 2020 at 17:16 UTC ( [id://11125291]=note: print w/replies, xml ) Need Help??


in reply to Re: XML::Atom on MacOS Catalina
in thread XML::Atom on MacOS Catalina

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?

Replies are listed 'Best First'.
Re^3: XML::Atom on MacOS Catalina
by marto (Cardinal) on Dec 16, 2020 at 17:28 UTC

    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!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11125291]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-26 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found