CPAN generate a fault during test in Test-Warn-0.11

t/warning_is.......Can't locate Test/Exception.pm in @INC (@INC contai +ns: ../blib/lib /home/siyverts/src/fedora/src/zimbra-6-F10/ThirdParty +/Perl.new/.cpan/build/Test-Warn-0.11-4y883K/blib/lib /home/siyverts/s +rc/fedora/src/zimbra-6-F10/ThirdParty/Perl.new/.cpan/build/Test-Warn- +0.11-4y883K/blib/arch /usr/lib/perl5/5.10.0/i386-linux-thread-multi / +usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux +-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/ve +ndor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5 +.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl /usr/ +lib/perl5/site_perl .) at t/warning_is.t line 28.
This is because Test/Exception.pm is located at a
temporary build directory where it was stored
from previous step.
How can I tell CPAN to add a path during the test phase?
LDFLAGS="-fPIC" CFLAGS="-fPIC" BERKELEYDB_INCLUDE=$(BDB_INC) BERKELEYD +B_LIB=$(BDB_LIB) $(PERL) -I$(DEST_LIB_DIR) -MCPAN -e "$$CPAN::Config- +>{make_arg}.=' CCCDLFLAGS="-fPIC" CFLAGS="-fPIC" LDFLAGS="-fPIC"'; $$ +CPAN::Config->{makepl_arg}.=' PERL5LIB="$(DEST_LIB_DIR)" CCCDLFLAGS=" +-fPIC" CFLAGS="-fPIC" LDFLAGS="-fPIC"'; force (\"install\", \"$$lib\" +)" >> $(LOGFILE) 2>&1; \


In reply to CPAN and @INC by siyverts

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.