You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jonathan Mangin <jo...@comcast.net> on 2007/03/14 16:47:09 UTC

Failing cgi tests

Hi,

I'm installing libapreq2-2.08 with mod_perl-2.0.3 and
httpd-2.0.59.  make test fails all cgi tests.  The only
error is:

[Tue Mar 13 17:54:08 2007] [error] [client 127.0.0.1] Can't load
'/usr/local/lib
/perl5/site_perl/5.8.7/i86pc-solaris/auto/APR/APR.so' for module APR:
ld.so.1: /
usr/local/bin/perl: fatal: libgcc_s.so.1: open failed: No such file or
directory
 at /usr/local/lib/perl5/5.8.7/i86pc-solaris/DynaLoader.pm line 230.
[Tue Mar 13 17:54:08 2007] [error] [client 127.0.0.1]  at
/export/home/jman/down
load/src/misc/libapreq2-2.08/glue/perl/t/cgi-bin/test_cgi.pl line 10
[Tue Mar 13 17:54:08 2007] [error] [client 127.0.0.1] Compilation failed in
requ
ire at
/export/home/jman/download/src/misc/libapreq2-2.08/glue/perl/t/cgi-bin/te
st_cgi.pl line 10.
[Tue Mar 13 17:54:08 2007] [error] [client 127.0.0.1] BEGIN
failed--compilation
aborted at
/export/home/jman/download/src/misc/libapreq2-2.08/glue/perl/t/cgi-bi
n/test_cgi.pl line 10.
[Tue Mar 13 17:54:08 2007] [error] [client 127.0.0.1] Premature end of
script he
aders: test_cgi.pl

APR.so does exist in that location.  Is this something I can
ignore or should I worry?

Thanks,
Jon


Re: Failing cgi tests (& what is ok?)

Posted by Jonathan Mangin <jo...@comcast.net>.
----- Original Message ----- 
From: "Frank Wiles" <fr...@wiles.org>
To: "Jonathan Mangin" <jo...@comcast.net>
Sent: Wednesday, March 14, 2007 1:07 PM
Subject: Re: Failing cgi tests (& what is ok?)


> On Wed, 14 Mar 2007 13:54:36 -0500
> "Jonathan Mangin" <jo...@comcast.net> wrote:
> 
> > cgi.t is failing on all lines beginning with ok:
> > 
> >         ok t_cmp($body,
> >                  $len,
> >                  "GET long query");
> >     }
> > 
> > What is ok and where can I read about it?
> > 
> > Thanks again,
> > Jon
> 
>    It's part of the various Perl testing modules, in this case
>    Apache::Test I believe. 
> 
>  ---------------------------------
>    Frank Wiles <fr...@wiles.org>
>    http://www.wiles.org
>  ---------------------------------
> 
Thanks, Frank...(see Test.pm :)

cgi.t defines these:

my $location = '/cgi-bin';
my $script = $location . '/test_cgi.pl';

Since there's no test_cgi.pl in /cgi-bin, or anywhere else,
then this:

        my $body = GET_BODY "$script?$query";
        ok t_cmp($body,
                 $len,
                 "GET long query");

probably won't work.  I think I'll install it.

--Jon


Re: Failing cgi tests (& what is ok?)

Posted by Jonathan Mangin <jo...@comcast.net>.
----- Original Message ----- 
From: "Jonathan Mangin" <jo...@comcast.net>
To: <mo...@perl.apache.org>
Sent: Wednesday, March 14, 2007 10:47 AM
Subject: Failing cgi tests


> Hi,
> 
> I'm installing libapreq2-2.08 with mod_perl-2.0.3 and
> httpd-2.0.59.  make test fails all cgi tests.  The only
> error is:
> 
> [Tue Mar 13 17:54:08 2007] [error] [client 127.0.0.1] Can't load
> '/usr/local/lib
> /perl5/site_perl/5.8.7/i86pc-solaris/auto/APR/APR.so' for module APR:
> ld.so.1: /
> usr/local/bin/perl: fatal: libgcc_s.so.1: open failed: No such file or
> directory
>  at /usr/local/lib/perl5/5.8.7/i86pc-solaris/DynaLoader.pm line 230.
> [Tue Mar 13 17:54:08 2007] [error] [client 127.0.0.1]  at
> /export/home/jman/down
> load/src/misc/libapreq2-2.08/glue/perl/t/cgi-bin/test_cgi.pl line 10
> 
> APR.so does exist in that location.  Is this something I can
> ignore or should I worry?
> 
> Thanks,
> Jon
> 
>
cgi.t is failing on all lines beginning with ok:

        ok t_cmp($body,
                 $len,
                 "GET long query");
    }

What is ok and where can I read about it?

Thanks again,
Jon