I was going to post an RFC on my first-ever module released to CPAN, but it appears there is a problem that needs to be resolved first. I'll post the official RFC after I am convinced others can actually install the thing.
The distribution in question is RandomJungle. There are 8 modules, one of which (TestData.pm) contains the gold-standard data that is used by the test suite. There is something wrong with my build because all of the CPAN test reports are failing with messages like this:
PERL_DL_NONLAZY=1 /home/cpan/pit/thr-ld/perl-5.12.3/bin/perl "-MExtUti
+ls::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.
+t
Can't locate RandomJungle/TestData.pm in @INC (@INC contains: /home/cp
+an/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/RandomJungle-0.
+02/blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/b
+uild/RandomJungle-0.02/blib/arch /home/cpan/pit/thr-ld/conf/perl-5.12
+.3/.cpanplus/5.12.3/build/Devel-StackTrace-1.27/blib/lib /home/cpan/p
+it/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Devel-StackTrace-1.
+27/blib/arch /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/
+build/Carp-1.25/blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpan
+plus/5.12.3/build/Carp-1.25/blib/arch /home/cpan/pit/thr-ld/conf/perl
+-5.12.3/.cpanplus/5.12.3/build/Sub-Uplevel-0.24/blib/lib /home/cpan/p
+it/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Sub-Uplevel-0.24/bl
+ib/arch /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build
+/Tree-DAG_Node-1.06/blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/.
+cpanplus/5.12.3/build/Tree-DAG_Node-1.06/blib/arch /home/cpan/pit/thr
+-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Test-Warn-0.24/blib/lib /
+home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Test-War
+n-0.24/blib/arch /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.1
+2.3/build/Devel-StackTrace-1.27/blib/lib /home/cpan/pit/thr-ld/conf/p
+erl-5.12.3/.cpanplus/5.12.3/build/Devel-StackTrace-1.27/blib/arch /ho
+me/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Carp-1.25/
+blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/buil
+d/Carp-1.25/blib/arch /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplu
+s/5.12.3/build/Sub-Uplevel-0.24/blib/lib /home/cpan/pit/thr-ld/conf/p
+erl-5.12.3/.cpanplus/5.12.3/build/Sub-Uplevel-0.24/blib/arch /home/cp
+an/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Tree-DAG_Node-1
+.06/blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/
+build/Tree-DAG_Node-1.06/blib/arch /home/cpan/pit/thr-ld/conf/perl-5.
+12.3/.cpanplus/5.12.3/build/Test-Warn-0.24/blib/lib /home/cpan/pit/th
+r-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Test-Warn-0.24/blib/arch
+ /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus/5.12.3/build/Random
+Jungle-0.02/blib/lib /home/cpan/pit/thr-ld/conf/perl-5.12.3/.cpanplus
+/5.12.3/build/RandomJungle-0.02/blib/arch /home/cpan/pit/thr-ld/perl-
+5.12.3/lib/site_perl/5.12.3/x86_64-linux-thread-multi-ld /home/cpan/p
+it/thr-ld/perl-5.12.3/lib/site_perl/5.12.3 /home/cpan/pit/thr-ld/perl
+-5.12.3/lib/5.12.3/x86_64-linux-thread-multi-ld /home/cpan/pit/thr-ld
+/perl-5.12.3/lib/5.12.3 .) at t/DB_01.t line 10.
BEGIN failed--compilation aborted at t/DB_01.t line 10.
It works perfectly on my local system (of course). As this is my first time through the process, I suspect I'm missing something fairly basic. Could someone please enlighten me?
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|