Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I am trying to get Apache::Request installed but am having very little luck.

I am using mandrake ~9.1 and I have httpd, and httpd-perl installed. httpd is passing perl requests to httpd-perl.

Now when I try to install, I get:

PERL_DL_NONLAZY=1 PORT=8228 /usr/bin/perl5.8.0 -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi -I/usr/lib/perl5/5.8.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/cookie.....skipped
all skipped: no reason given
t/inherit....FAILED test 1
Failed 1/1 tests, 0.00% okay
t/request....FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/inherit.t 1 1 100.00% 1
t/request.t 10 10 100.00% 1-10
1 test skipped.
Failed 2/3 test scripts, 33.33% okay. 11/11 subtests failed, 0.00% okay.
make: *** run_tests Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force

What is this inherit test about and why might it be failing? Where can I find information on these tests?

Thanks,
JJ

Replies are listed 'Best First'.
Re: Installing Apache::Request
by MarkM (Curate) on Mar 06, 2003 at 06:53 UTC

    If you are using Apache 2.x with mod_perl 1.99 (RedHat 8.0 does this, so I assume Mandrake 9.1 is similar) you may not be able to compile Apache::Request properly. Apache::Request is really designed for mod_perl 1.3. Or so my own research a few days ago concluded...

Re: Installing Apache::Request
by robartes (Priest) on Mar 06, 2003 at 06:31 UTC
    You can find the test scripts in the t/ directory of the source directory for Apache::Request (or any module for that matter). There, you'll find a script with a name like 02____inherit.t (the number may vary). The test scripts are normal Perl scripts.

    You can always try running the script by hand and seeing what happens to determine your problem.

    CU
    Robartes-

Re: Installing Apache::Request
by IlyaM (Parson) on Mar 06, 2003 at 12:25 UTC
    If you rerun tests with make test TEST_VERBOSE=1 it may give you more information about test run.

    --
    Ilya Martynov, ilya@iponweb.net
    CTO IPonWEB (UK) Ltd
    Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net
    Personal website - http://martynov.org