I'm having some trouble understanding what it is you are trying to accomplish here. If you are looking to install mod_perl2 (I think it's safe enough to just call it mod_perl these days) on an O/S via a packager then why not just use the mod_perl package provided by the distributor? mod_perl is available in RPM for CentOS 6 and 7 and various Fedora releases. I would be very surprised if it were not also available as a DEB for Ubuntu. By using the distributor's versions you know that the various components (apache, perl, libapreq2, etc.) will all play nicely together.

If your question is more general than just mod_perl, perhaps you could explain in a bit more detail what you are trying to do and where precisely the problem lies. At the moment it sounds more like a packaging problem than a perl problem.


In reply to Re: adding modules from CPAN to "packaged" mod_perl2 by hippo
in thread adding modules from CPAN to "packaged" mod_perl2 by glasswalk3r

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.