sadly CPAN has no way of specifying such dependencies

What you can do is reflect the C library with a Perl distribution (e.g. Alien-wxWidgets). During installation, the distro checks if the necessary C library is installed. If not, the distro either fails to install itself or it installs the C library.

I think in windows the perl distributions come with their own packaging systems

I don't think there's anything Windows-specific about PPM. It's just that there are only repositories for ActivePerl builds. (I think they usually also work with Strawberry, and I think a change to 5.12 makes is so they always work.)

but then you have a much more limited set of up-to-date modules

There's an amazing list of up to date modules. Someone's probably running an automated tool. But it's probably not the same story for modules with external dependencies such as XML::LibXML.

I am not sure how well they handle external dependencies.

They incorporate external dependencies. XML::LibXML is now available from AS's repo for 5.12:

>ppm install XML::LibXML Downloading ActiveState Package Repository packlist...done Updating ActiveState Package Repository database...done Downloading XML-LibXML-1.70...done Downloading XML-SAX-0.96...done Downloading XML-NamespaceSupport-1.11...done Unpacking XML-LibXML-1.70...done Unpacking XML-SAX-0.96...done Unpacking XML-NamespaceSupport-1.11...done Generating HTML for XML-LibXML-1.70...done Generating HTML for XML-SAX-0.96...done Generating HTML for XML-NamespaceSupport-1.11...done Updating files in site area...done 110 files installed

In reply to Re^2: ERROR in XML::LibXML installation by ikegami
in thread ERROR in XML::LibXML installation by satzbu

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.