The confusion is understandable, especially if you are not overly familiar with mod_perl. Essentially, cpan has determined that Apache is a prerequisite for SOAP::Lite and that since the Apache module is part of the mod_perl dist, that's what it tries to install. Your package manager shows that you have the vendor's mod_perl already, but that is mod_perl2 and it uses the Bundle::Apache2 metamodule and namespace which is quite different from Apache (the 2 is part of the module name, it's not really a version number. I did say it was confusing).

TBH, I don't see why cpan is seeing Apache as a prerequisite of SOAP::Lite and am 100% sure that I have installed the latter without the former in the past. I suggest that you try to install SOAP::Lite by hand and (if you like) use cpan to install each prerequisite independently, but ignoring Apache as such. If you aren't going to be running SOAP::Lite on the server side, you won't need it anyway.

See the mod_perl site for details of the renaming from 1 to 2 if you are so inclined.


In reply to Re: CPAN not detecting installed modules by hippo
in thread CPAN not detecting installed modules by nilesOien

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.