As mentioned in the "Steps attempted to resolve the problem" XML::LibXML won't 'just install' in Linux or Unix without the libxml2 packages pre-installed.

This was clear, but why are you concerned ?

:) You don't release XML::LibXML or Alien::LibXML , so its not really any of your business :)

As mentioned in the "Steps attempted to resolve the problem" Alien::LibXML won't 'just install' in Linux or Unix without the libxml2 packages pre-installed.

I kind of doubt that :)

If Alien::LibXML doesn't install libxml2, report a bug, but I think it does install libxml2, just look at https://metacpan.org/source/TOBYINK/Alien-LibXML-0.003/Build.PL

Also, like the docs say, XML::LibXML currently makes no use of Alien::LibXML, so report a bug in XML::LibXML?

Yeah, looks like even if you install Alien::LibXML XML::LibXML won't know anything about it ... standard way you as a user can let it know is through Makefile.PL args INC=/LIB=

Most modules on CPAN do not have a corresponding Alien:: library, and its been that way for most of the history of CPAN ... that a user has to  apt-get install.. before he can cpan SomeModule is kind of a FAQ

So, as maintainer of Spreadsheet::XLSX::Reader::LibXML, there is nothing for you to do, maybe improve your docs to explain the appropriate apt-get steps ...

You could at an utils/installlibxml2.pl to help you out your users, but this stuff doesn't belong in your Makefile.PL, each cpan author takes care of his own distribution

I almost forgot, you could always fork XML::LibXML to use Alien::LibXML and release that on cpan, and submit a feature request ... see upload a fork (unauthorized version),

 

Hopefully that is clear :)


In reply to Re^3: loading libxml2 as a prerequisite by Anonymous Monk
in thread loading libxml2 as a prerequisite by jandrew

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.