[cgiapp] CAP::ValidateRM install failure

Lesley Binks lesley.binks at googlemail.com
Sun Apr 6 16:12:28 EDT 2008


On 06/04/2008, cgiapp-request at lists.openlib.org
<cgiapp-request at lists.openlib.org> wrote:
> Send cgiapp mailing list submissions to
>         cgiapp at lists.openlib.org
>
>  To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.openlib.org/mailman/listinfo/cgiapp
>  or, via email, send a message with subject or body 'help' to
>         cgiapp-request at lists.openlib.org
>
>  You can reach the person managing the list at
>         cgiapp-owner at lists.openlib.org
>
>  When replying, please edit your Subject line so it is more specific
>  than "Re: Contents of cgiapp digest..."
>
>
>  Today's Topics:
>
>    1. CAP::ValidateRM install failure (Lesley Binks)
>    2. Re: CAP::ValidateRM install failure (Jaldhar H. Vyas)
>
>
>  ----------------------------------------------------------------------
>
>  Message: 1
>  Date: Sun, 6 Apr 2008 15:33:25 +0100
>  From: "Lesley Binks" <lesley.binks at googlemail.com>
>  Subject: [cgiapp] CAP::ValidateRM install failure
>  To: cgiapp at lists.openlib.org
>  Message-ID:
>         <cfd8acdc0804060733o3762c21ckc6ea609fcaa69ef7 at mail.gmail.com>
>  Content-Type: text/plain; charset=ISO-8859-1
>
>  Hi
>  I'm experimenting with CGI::Application and thought I'd try the
>  sitepoint article out to get the hang of it all.
>  So I cut and pasted the data and then started sorting out the
>  dependencies via cpan which I think gets me the latest modules down.
>  .
>  I'm on Debian etch with perl 5.8
>
>  I searched through the archives on erlbaum.net and found that someone
>  else has experienced this same problem in Oct 2007.
>  ( http://lists.openlib.org/pipermail/cgiapp/2007q4/000062.html )
>
>  The sample application requires CAP::ValidateRM and the cpan install fails thus
>
>  PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>  "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>  t/01_basic......ok
>  t/99_pod........ok
>  t/forward.......1/4
>  #   Failed test 'form is returned'
>  #   at t/forward.t line 22.
>  #          got: 'legacy form output HUH'
>  #     expected: 'legacy form output'
>  # Looks like you failed 1 test of 4.
>  t/forward....... Dubious, test returned 1 (wstat 256, 0x100)
>   Failed 1/4 subtests
>         (less 2 skipped subtests: 1 okay)
>
>  Test Summary Report
>  -------------------
>  t/forward.t (Wstat: 256 Tests: 4 Failed: 1)
>   Failed test:  2
>   Non-zero exit status: 1
>  Files=3, Tests=19,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.32 cusr
>   0.03 csys =  0.37 CPU)
>  Result: FAIL
>  Failed 1/3 test programs. 1/19 subtests failed.
>  make: *** [test_dynamic] Error 1
>
>  This seems to be the forward_form test
>
>     sub forward_form {
>         my $self = shift;
>         Test::More::is($self->get_current_runmode, 'forward_form',
>             "if ::Forward is loaded, current_rm is updated");
>         $self->header_type('none');
>         return "forward form output HUH";
>     }
>
>  Unfortunately there were no replies to this problem for the previous
>  poster.  Likewise I know little about the Perl Test harness at this
>  time.
>
>  Anyone know what's up here or know of a fix?  Did the previous poster
>  get a fix to this problem?
>
>  Regards
>
>  LesleyB
>
>
>  ------------------------------
>
>  Message: 2
>  Date: Sun, 6 Apr 2008 10:43:03 -0400 (EDT)
>  From: "Jaldhar H. Vyas" <jaldhar at braincells.com>
>  Subject: Re: [cgiapp] CAP::ValidateRM install failure
>  To: CGI Application <cgiapp at lists.openlib.org>
>  Message-ID: <alpine.DEB.1.00.0804061038180.25808 at jaldhar-laptop>
>  Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
>  On Sun, 6 Apr 2008, Lesley Binks wrote:
>
>  > Hi
>  > I'm experimenting with CGI::Application and thought I'd try the
>  > sitepoint article out to get the hang of it all.
>  > So I cut and pasted the data and then started sorting out the
>  > dependencies via cpan which I think gets me the latest modules down.
>  > .
>  > I'm on Debian etch with perl 5.8
>
>  use the handy libcgi-application-plugins-perl package via apt-get instead.
>  You can even install the more up to date version from sid on etch without
>  problems though some manual work might be necessary to install
>  dependencies.
>
>  >
>  > I searched through the archives on erlbaum.net and found that someone
>  > else has experienced this same problem in Oct 2007.
>  > ( http://lists.openlib.org/pipermail/cgiapp/2007q4/000062.html )
>  >
>  > The sample application requires CAP::ValidateRM and the cpan install fails thus
>  >
>  > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>  > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>  > t/01_basic......ok
>  > t/99_pod........ok
>  > t/forward.......1/4
>  > #   Failed test 'form is returned'
>  > #   at t/forward.t line 22.
>  > #          got: 'legacy form output HUH'
>  > #     expected: 'legacy form output'
>  > # Looks like you failed 1 test of 4.
>  > t/forward....... Dubious, test returned 1 (wstat 256, 0x100)
>  > Failed 1/4 subtests
>
>  I mentioned this to Mark and he said it was harmless.
>
>  --

Jaldhar

Thanks for this info.
I used the force command in cpan, simply because I started the install
of CGI::Application plus dependencies  that way.
I started using cpan because the CGI module seemed to be a little out
of date via the apt-get lib*perl method and have now updated those
modules that I can update this way.

Now at least  I can debug the rest of my problems with the test
application - having spent the afternoon with Test::Tutorial. :)

Regards

Lesley


More information about the cgiapp mailing list