i am using the CPAN module to install mod_perl on a linux box that has apache compiled from src rather than from a redhat rpm. when i run

cpan> install mod_perl

all runs well, however, i get

Can't locate object method "new" via package "URI::URL" (perhaps you forgot to load "URI::URL"?) at ../blib/lib/Apache/test.pm line 252. make: *** run_tests Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force

however, when i check my URL.pm file, it seems to be in good shape and has "new" defined accurately. it also appears that URL.pm is up to date and current

cpan> install URI::URL
URI::URL is up to date.

any thoughts on how to see just why this isnt seeing the method from URL.pm? thanks -c


In reply to Installing mod_perl complains about URI::URL missing method by c

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.